Typo: Fix error messages on service account operations (#4026)

This commit is contained in:
Gabriel Dolberg
2022-03-30 11:55:55 -07:00
committed by GitHub
parent d6ffdbc8fb
commit 9c34f6c94b
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ func mainAdminUserSvcAcctDisable(ctx *cli.Context) error {
}
e := client.UpdateServiceAccount(globalContext, svcAccount, opts)
fatalIf(probe.NewError(e).Trace(args...), "Unable to get disable the specified service account")
fatalIf(probe.NewError(e).Trace(args...), "Unable to disable the specified service account")
printMsg(svcAcctMessage{
op: "disable",
+1 -1
View File
@@ -74,7 +74,7 @@ func mainAdminUserSvcAcctEnable(ctx *cli.Context) error {
}
e := client.UpdateServiceAccount(globalContext, svcAccount, opts)
fatalIf(probe.NewError(e).Trace(args...), "Unable to get enable the specified service account")
fatalIf(probe.NewError(e).Trace(args...), "Unable to enable the specified service account")
printMsg(svcAcctMessage{
op: "enable",
+1 -1
View File
@@ -74,7 +74,7 @@ func mainAdminUserSvcAcctList(ctx *cli.Context) error {
fatalIf(err, "Unable to initialize admin connection.")
svcList, e := client.ListServiceAccounts(globalContext, user)
fatalIf(probe.NewError(e).Trace(args...), "Unable to add a new service account")
fatalIf(probe.NewError(e).Trace(args...), "Unable to list service accounts")
for _, svc := range svcList.Accounts {
printMsg(svcAcctMessage{
+1 -1
View File
@@ -70,7 +70,7 @@ func mainAdminUserSvcAcctRemove(ctx *cli.Context) error {
fatalIf(err, "Unable to initialize admin connection.")
e := client.DeleteServiceAccount(globalContext, svcAccount)
fatalIf(probe.NewError(e).Trace(args...), "Unable to remove a new service account")
fatalIf(probe.NewError(e).Trace(args...), "Unable to remove the specified service account")
printMsg(svcAcctMessage{
op: "rm",
+1 -1
View File
@@ -95,7 +95,7 @@ func mainAdminUserSvcAcctSet(ctx *cli.Context) error {
}
e := client.UpdateServiceAccount(globalContext, svcAccount, opts)
fatalIf(probe.NewError(e).Trace(args...), "Unable to add a new service account")
fatalIf(probe.NewError(e).Trace(args...), "Unable to edit the specified service account")
printMsg(svcAcctMessage{
op: "set",