We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294edef commit ad2d8d1Copy full SHA for ad2d8d1
internal/cli/auth/whoami.go
@@ -46,7 +46,7 @@ func AccountWithAccessToken() (string, error) {
46
return config.AccessTokenSubject()
47
}
48
49
-func AuthTypeAndSubject() (string, string, error) {
+func authTypeAndSubject() (string, string, error) {
50
if config.PublicAPIKey() != "" {
51
return "key", config.PublicAPIKey(), nil
52
@@ -72,7 +72,7 @@ func WhoAmIBuilder() *cobra.Command {
72
},
73
RunE: func(_ *cobra.Command, _ []string) error {
74
var err error
75
- if opts.authType, opts.authSubject, err = AuthTypeAndSubject(); err != nil {
+ if opts.authType, opts.authSubject, err = authTypeAndSubject(); err != nil {
76
return err
77
78
0 commit comments