Skip to content

Commit

Permalink
fix #2961
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed committed Nov 16, 2024
1 parent ad8d6c0 commit de12db3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ func (c *Config) SwitchContext(name string) error {
flags.Namespace = c.flags.Namespace
flags.Timeout = c.flags.Timeout
flags.KubeConfig = c.flags.KubeConfig
flags.Impersonate = c.flags.Impersonate
flags.ImpersonateGroup = c.flags.ImpersonateGroup
flags.ImpersonateUID = c.flags.ImpersonateUID
c.flags = flags

return nil
Expand Down

0 comments on commit de12db3

Please sign in to comment.