Fix: events routing behavior when version information is disabled

This commit is contained in:
Quentin McGaw (desktop)
2021-07-15 22:43:30 +00:00
parent bb2b8b4514
commit 09eccd7cd9

View File

@@ -464,11 +464,7 @@ func routeReadyEvents(ctx context.Context, done chan<- struct{}, buildInfo model
// Runs the Public IP getter job once
_, _ = publicIPLooper.SetStatus(constants.Running)
if !versionInformation {
break
}
if first {
if versionInformation && first {
first = false
message, err := versionpkg.GetMessage(ctx, buildInfo, httpClient)
if err != nil {