Existing code ``` { if os.IsNotExist(e) { e = os.MkdirAll(objectDir, 0700) if e != nil { return "", probe.NewError(e) } } return "", probe.NewError(e) ---> Error was here. } ``` For a successful 'MkdirAll' it would still return an empty uploadID, but the 'error' would be nil. This would succeed the request but client would fail. Fix is to re-arrange the logic. Thanks to Alexander Neumann @fd0, for reporting this problem.master
parent
67a70eb6d6
commit
2e311168ee
Loading…
Reference in new issue