Skip to content

Commit

Permalink
Fix for "Get repair-queue status"
Browse files Browse the repository at this point in the history
Signed-off-by: morimoto-cybozu <[email protected]>
  • Loading branch information
morimoto-cybozu committed Jan 23, 2024
1 parent a454b7f commit df3960e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ func GetRepairQueueStatus(ctx context.Context, inf cke.Infrastructure, n *cke.No

rqs.RepairCompleted = make(map[string]bool)
for _, entry := range entries {
if !(entry.Status == cke.RepairStatusQueued || entry.Status == cke.RepairStatusProcessing) {
if entry.HasFinished() {
// not "!(RepairStatusProcessing && repairStepStatusWatching)"
// Though the repair completion will happen a little later after the execution of
// the repair command in most cases, it is useful to check the health for all
Expand Down

0 comments on commit df3960e

Please sign in to comment.