Skip to content

Commit

Permalink
comparision error on auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Svihla committed Mar 9, 2021
1 parent 709045d commit 77179cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func ExecuteLogin(args []string, confDir string, confFiles pkg.ConfFiles) error
Err: fmt.Errorf("incorrect options with error %v", err),
}
}
if authTokenFlag != nil {
if *authTokenFlag != "" {
return makeConf(confDir, confFiles.TokenPath, *authTokenFlag)
}
var clientJSON string
Expand Down

0 comments on commit 77179cb

Please sign in to comment.