Fix: events routing behavior when version information is disabled
This commit is contained in:
@@ -464,11 +464,7 @@ func routeReadyEvents(ctx context.Context, done chan<- struct{}, buildInfo model
|
|||||||
|
|
||||||
// Runs the Public IP getter job once
|
// Runs the Public IP getter job once
|
||||||
_, _ = publicIPLooper.SetStatus(constants.Running)
|
_, _ = publicIPLooper.SetStatus(constants.Running)
|
||||||
if !versionInformation {
|
if versionInformation && first {
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
if first {
|
|
||||||
first = false
|
first = false
|
||||||
message, err := versionpkg.GetMessage(ctx, buildInfo, httpClient)
|
message, err := versionpkg.GetMessage(ctx, buildInfo, httpClient)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user