From 9c62ca454746ce98816ad044c03a6b4273076b43 Mon Sep 17 00:00:00 2001 From: Justin Li Date: Sat, 30 Nov 2013 23:16:31 -0500 Subject: [PATCH] Register the mock driver --- storage/tracker/mock/driver.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/storage/tracker/mock/driver.go b/storage/tracker/mock/driver.go index 2efbcd5..c67fc17 100644 --- a/storage/tracker/mock/driver.go +++ b/storage/tracker/mock/driver.go @@ -22,3 +22,8 @@ func (d *driver) New(conf *config.DataStore) tracker.Pool { whitelist: make(map[string]bool), } } + +func init() { + tracker.Register("mock", &driver{}) +} +