box: Fix ineffectual assignment (ineffassign)

This commit is contained in:
Nick Craig-Wood 2019-06-10 19:33:10 +01:00
parent 903ede52cd
commit e24cadc7a1

View file

@ -112,7 +112,7 @@ outer:
return shouldRetry(resp, err) return shouldRetry(resp, err)
}) })
delay := defaultDelay delay := defaultDelay
why := "unknown" var why string
if err != nil { if err != nil {
// Sometimes we get 400 Error with // Sometimes we get 400 Error with
// parts_mismatch immediately after uploading // parts_mismatch immediately after uploading