Skip to content

Commit

Permalink
Changed
Browse files Browse the repository at this point in the history
shaohq committed Nov 6, 2022

Partially verified

This commit is signed with the committer’s verified signature.
gsmet’s contribution has been verified via GPG key.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
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
@@ -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 + ","

0 comments on commit 8761f25

Please sign in to comment.