mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05: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:
parent
517b9957b6
commit
279ddb31ef
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ func WithEnvironment(e environment.Execution) Option {
|
||||||
}
|
}
|
||||||
|
|
||||||
// WithStorageDriver sets store driver option
|
// WithStorageDriver sets store driver option
|
||||||
func WithStorageDriver(driver string) func(d *Daemon) {
|
func WithStorageDriver(driver string) Option {
|
||||||
return func(d *Daemon) {
|
return func(d *Daemon) {
|
||||||
d.storageDriver = driver
|
d.storageDriver = driver
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue