mirror of
https://github.com/moby/moby.git
synced 2026-08-03 22:51:03 +00:00
testutil: update WithStorageDriver to use daemon.Option as return type
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user