chore: update error message

This commit is contained in:
Jose Diaz-Gonzalez
2024-01-21 23:05:20 -05:00
parent 33a3e6a2fc
commit d494e01c7b

View File

@@ -491,7 +491,7 @@ func CommandClusterAdd(role string, remoteHost string, allowUknownHosts bool, ta
return fmt.Errorf("Error waiting for pod to exist: %w", err)
}
if len(nodes) == 0 {
return fmt.Errorf("Unable to find node after joining cluster, node will not be labeled appropriately and cannot access registry secrets")
return fmt.Errorf("Unable to find node after joining cluster, node will not be annotated/labeled appropriately access registry secrets")
}
err = copyRegistryToNode(ctx, remoteHost)