Skip to content

Commit

Permalink
fix: 优化gke扩容时节点申请流程
Browse files Browse the repository at this point in the history
  • Loading branch information
Maclon9573 committed Jul 31, 2024
1 parent d5d29e4 commit 5c4a0a6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ func checkInstance(client *api.ComputeServiceClient, ids []string) ([]string, []

successIns = running
failureIns = failed

if len(failureIns) > 0 {
return successIns, failureIns, fmt.Errorf("failed to get all instance ip")
}
}

return successIns, failureIns, nil
Expand Down

0 comments on commit 5c4a0a6

Please sign in to comment.