fix logic else brake
This commit is contained in:
@@ -81,6 +81,7 @@ func StreamContent(masterClient wdclient.HasLookupFileIdFunction, writer io.Writ
|
|||||||
urlStrings, err = masterClient.GetLookupFileIdFunction()(chunkView.FileId)
|
urlStrings, err = masterClient.GetLookupFileIdFunction()(chunkView.FileId)
|
||||||
if err != nil || len(urlStrings) == 0 {
|
if err != nil || len(urlStrings) == 0 {
|
||||||
time.Sleep(backoff)
|
time.Sleep(backoff)
|
||||||
|
} else {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user