Skip to content

Commit

Permalink
Changed
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohq committed Nov 6, 2022
1 parent 5161202 commit 8761f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/cluster/operation/download_binaries.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func DownloadBinaries(c *gin.Context) {
failedNodes := ""
for _, nodeStatus := range status.NodeStatus {
logrus.Trace(nodeStatus)
if nodeStatus.Changed != "0" && nodeStatus.Unreachable == "0" && nodeStatus.Failed == "0" {
if nodeStatus.OK != "0" && nodeStatus.Unreachable == "0" && nodeStatus.Failed == "0" {
common.MapDelete(clusterMetadata.Inventory, "all.hosts."+nodeStatus.NodeName+".kuboardspray_require_download")
count++
nodes += nodeStatus.NodeName + ","
Expand Down

0 comments on commit 8761f25

Please sign in to comment.