Browse code

testutil: update WithStorageDriver to use daemon.Option as return type

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/09/30 21:22:21
Showing 1 changed files
... ...
@@ -85,7 +85,7 @@ func WithEnvironment(e environment.Execution) Option {
85 85
 }
86 86
 
87 87
 // WithStorageDriver sets store driver option
88
-func WithStorageDriver(driver string) func(d *Daemon) {
88
+func WithStorageDriver(driver string) Option {
89 89
 	return func(d *Daemon) {
90 90
 		d.storageDriver = driver
91 91
 	}