mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-09 23:42:21 -04:00
fix panic in status cmd (#2625)
This commit is contained in:
parent
0c1e6e97e4
commit
9af514d08e
3 changed files with 36 additions and 13 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue