docker volume plugin: migrate DaemonWait mount option from time.Duration type to fs.Duration

This commit is contained in:
Jonas Geiler 2024-08-16 15:42:12 +02:00
parent 8b9325051e
commit 63ce0c9bc5
No known key found for this signature in database

View file

@ -215,7 +215,7 @@ func getMountOption(mntOpt *mountlib.Options, opt rc.Params, key string) (ok boo
case "network-mode":
mntOpt.NetworkMode, err = opt.GetBool(key)
case "daemon-wait":
mntOpt.DaemonWait, err = opt.GetDuration(key)
mntOpt.DaemonWait, err = opt.GetFsDuration(key)
case "devname":
mntOpt.DeviceName, err = opt.GetString(key)
case "direct-io":