Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh: List pending nodes #368

Merged
merged 7 commits into from
Jan 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
initialize struct
  • Loading branch information
petersutter committed Jan 16, 2024
commit 6d3c1fbd61a9b8a571d719da76d9897aebdf8d06
7 changes: 4 additions & 3 deletions pkg/cmd/ssh/connect_information.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ func NewConnectInformation(
var nodeList []Node

for _, node := range nodes {
n := Node{}
n.Name = node.Name
n.Status = "Ready"
n := Node{
Name: node.Name,
Status: "Ready",
}

if !isNodeReady(node) {
n.Status = "Not Ready"
Expand Down