Skip to content

Commit 1901a68

Browse files
committed
address comment
1 parent c037cb1 commit 1901a68

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/cli/auth/logout.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,14 @@ func LogoutBuilder() *cobra.Command {
174174
var message, entry string
175175
var err error
176176

177-
logoutMessage := fmt.Sprintf("Are you sure you want to log out of profile %s ", opts.config.Name())
177+
logoutMessage := fmt.Sprintf("Are you sure you want to log out of profile %s", opts.config.Name())
178178
switch opts.config.AuthType() {
179179
case config.APIKeys:
180180
entry = opts.config.PublicAPIKey()
181-
message = logoutMessage + "with public API key %s?"
181+
message = logoutMessage + " with public API key %s?"
182182
case config.ServiceAccount:
183183
entry = opts.config.ClientID()
184-
message = logoutMessage + "with service account %s?"
184+
message = logoutMessage + " with service account %s?"
185185
case config.UserAccount:
186186
entry, err = opts.config.AccessTokenSubject()
187187
if err != nil {
@@ -192,10 +192,10 @@ func LogoutBuilder() *cobra.Command {
192192
return ErrUnauthenticated
193193
}
194194

195-
message = logoutMessage + "with user account %s?"
195+
message = logoutMessage + " with user account %s?"
196196
case config.NoAuth, "":
197197
entry = opts.config.Name()
198-
message = logoutMessage + "?"
198+
message = logoutMessage + " ?"
199199
}
200200

201201
opts.Entry = entry

0 commit comments

Comments
 (0)