File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -174,14 +174,14 @@ func LogoutBuilder() *cobra.Command {
174
174
var message , entry string
175
175
var err error
176
176
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 ())
178
178
switch opts .config .AuthType () {
179
179
case config .APIKeys :
180
180
entry = opts .config .PublicAPIKey ()
181
- message = logoutMessage + "with public API key %s?"
181
+ message = logoutMessage + " with public API key %s?"
182
182
case config .ServiceAccount :
183
183
entry = opts .config .ClientID ()
184
- message = logoutMessage + "with service account %s?"
184
+ message = logoutMessage + " with service account %s?"
185
185
case config .UserAccount :
186
186
entry , err = opts .config .AccessTokenSubject ()
187
187
if err != nil {
@@ -192,10 +192,10 @@ func LogoutBuilder() *cobra.Command {
192
192
return ErrUnauthenticated
193
193
}
194
194
195
- message = logoutMessage + "with user account %s?"
195
+ message = logoutMessage + " with user account %s?"
196
196
case config .NoAuth , "" :
197
197
entry = opts .config .Name ()
198
- message = logoutMessage + "?"
198
+ message = logoutMessage + " ?"
199
199
}
200
200
201
201
opts .Entry = entry
You can’t perform that action at this time.
0 commit comments