1
0
Fork 0
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:
Sebastiaan van Stijn 2019-09-30 14:22:21 +02:00
parent 517b9957b6
commit 279ddb31ef
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -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
} }