Skip to content

Commit

Permalink
🤦 == -> !=
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Eckert committed Aug 10, 2022
1 parent 42d3596 commit fe3c6d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cli/cmd/proxy/list/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ func (c *ListCommand) validateFlags() error {
func (c *ListCommand) initKubernetes() error {
settings := helmCLI.New()

if c.flagKubeConfig == "" {
if c.flagKubeConfig != "" {
settings.KubeConfig = c.flagKubeConfig
}

if c.flagKubeContext == "" {
if c.flagKubeContext != "" {
settings.KubeContext = c.flagKubeContext
}

Expand Down
4 changes: 2 additions & 2 deletions cli/cmd/proxy/read/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@ func (c *ReadCommand) validateFlags() error {
func (c *ReadCommand) initKubernetes() (err error) {
settings := helmCLI.New()

if c.flagKubeConfig == "" {
if c.flagKubeConfig != "" {
settings.KubeConfig = c.flagKubeConfig
}

if c.flagKubeContext == "" {
if c.flagKubeContext != "" {
settings.KubeContext = c.flagKubeContext
}

Expand Down

0 comments on commit fe3c6d7

Please sign in to comment.