Skip to content

Commit

Permalink
fix panic in status cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
elchead committed Nov 21, 2023
1 parent 71dc517 commit cb9b3e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/internal/cmd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ func (s *statusCmd) status(
if errors.As(err, &configValidationErr) {
cmd.PrintErrln(configValidationErr.LongMessage())
}
if err != nil {
return fmt.Errorf("loading config file: %w", err)
}

nodeVersion, err := kubeClient.GetConstellationVersion(cmd.Context())
if err != nil {
Expand Down

0 comments on commit cb9b3e5

Please sign in to comment.