Browse Source

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

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 5 years ago
parent
commit
279ddb31ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      testutil/daemon/ops.go

+ 1 - 1
testutil/daemon/ops.go

@@ -85,7 +85,7 @@ func WithEnvironment(e environment.Execution) Option {
 }
 
 // WithStorageDriver sets store driver option
-func WithStorageDriver(driver string) func(d *Daemon) {
+func WithStorageDriver(driver string) Option {
 	return func(d *Daemon) {
 		d.storageDriver = driver
 	}