forked from Ivasoft/objectivefs-docker-volume
Still bugged with noocache, filesystem cannot be touched
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
2
main.go
2
main.go
@@ -398,7 +398,7 @@ func (d *ofsDriver) Mount(r *volume.MountRequest) (*volume.MountResponse, error)
|
||||
// success.
|
||||
for i := 1; ; i++ {
|
||||
// Check for process exit
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
time.Sleep(5000 * time.Millisecond)
|
||||
if cmd.ProcessState != nil {
|
||||
// The process has exited so consider an error occured
|
||||
log.WithFields(log.Fields{"name": r.Name, "exitStatus": cmd.ProcessState.ExitCode()}).Error("Volume mount failed")
|
||||
|
||||
Reference in New Issue
Block a user