Skip to content

Commit f91f205

Browse files
committed
fix the retry issue
1 parent 0f25fde commit f91f205

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/lib/ip_helper.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ func (helper *IPHelper) getIPOnline() string {
182182

183183
if err != nil {
184184
log.Error("Cannot get IP:", err)
185+
time.Sleep(time.Millisecond * 300)
185186
continue
186187
}
187188

0 commit comments

Comments
 (0)