mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-07-08 10:07:25 +02:00
fix logic else brake
This commit is contained in:
parent
475185fb72
commit
046c3d5ad4
|
@ -81,6 +81,7 @@ func StreamContent(masterClient wdclient.HasLookupFileIdFunction, writer io.Writ
|
|||
urlStrings, err = masterClient.GetLookupFileIdFunction()(chunkView.FileId)
|
||||
if err != nil || len(urlStrings) == 0 {
|
||||
time.Sleep(backoff)
|
||||
} else {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue