Remove misleading warning.
This commit is contained in:
@ -180,7 +180,7 @@ func (m *NomadEnvironmentManager) KeepEnvironmentsSynced(synchronizeRunners func
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Load Runners and keep them synchronized.
|
// Load Runners and keep them synchronized.
|
||||||
if err := synchronizeRunners(ctx); err != nil {
|
if err := synchronizeRunners(ctx); err != nil && ctx.Err() == nil {
|
||||||
log.WithContext(ctx).WithError(err).Warn("Loading and synchronizing Runners failed! Retrying...")
|
log.WithContext(ctx).WithError(err).Warn("Loading and synchronizing Runners failed! Retrying...")
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user