mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-23 14:28:51 +01:00
fix: lint error
This commit is contained in:
parent
64ca05c8e7
commit
5f8211773d
@ -12,7 +12,7 @@ import (
|
||||
|
||||
func GetInfo() *Info {
|
||||
out := _getInfo()
|
||||
for strings.Index(out, "broken pipe") != -1 {
|
||||
for strings.Contains(info, "broken pipe") {
|
||||
out = _getInfo()
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ import (
|
||||
|
||||
func GetInfo() *Info {
|
||||
out := _getInfo()
|
||||
for strings.Index(out, "broken pipe") != -1 {
|
||||
for strings.Contains(info, "broken pipe") {
|
||||
out = _getInfo()
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user