Register the mock driver
This commit is contained in:
parent
986675cc4d
commit
9c62ca4547
1 changed files with 5 additions and 0 deletions
|
@ -22,3 +22,8 @@ func (d *driver) New(conf *config.DataStore) tracker.Pool {
|
||||||
whitelist: make(map[string]bool),
|
whitelist: make(map[string]bool),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
tracker.Register("mock", &driver{})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue