Skip to content

Commit 91f0805

Browse files
committed
[Bug] Fix #2428
1 parent 98a7f3f commit 91f0805

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/config/k9s.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ func (k *K9s) ActivateContext(n string) (*data.Context, error) {
193193
if k.activeConfig.Context == nil {
194194
return nil, fmt.Errorf("context activation failed for: %s", n)
195195
}
196+
if k.activeConfig.Context == nil {
197+
return nil, fmt.Errorf("context activation failed for: %s", n)
198+
}
196199

197200
return k.activeConfig.Context, nil
198201
}

0 commit comments

Comments
 (0)