small fix to filter right namespace on service state check
This commit is contained in:
parent
0581515de0
commit
0e4eda972e
@ -289,6 +289,10 @@ func (c *RemoteClient) checkState(
|
||||
ready := true
|
||||
mainloop:
|
||||
for idx := range srvs {
|
||||
// ensure app name is the right one
|
||||
if srvs[idx].App != projectName {
|
||||
continue
|
||||
}
|
||||
for idy := range srvs[idx].Replicas {
|
||||
if srvs[idx].Replicas[idy].State != target {
|
||||
log.Info().Dur("retry (ms)", stateTickDuration).Msg("project not in good state yet, retrying...")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user