Skip to content

Commit 7ee08bb

Browse files
committed
Move logout commands to Outputln
1 parent 0ee843f commit 7ee08bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/cmd/auth/api/logout/logout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func NewCmd(p *types.CmdParams) *cobra.Command {
2727
return fmt.Errorf("log out failed: %w", err)
2828
}
2929

30-
p.Printer.Info("Successfully logged out from STACKIT Terraform Provider and SDK.\n")
30+
p.Printer.Outputln("Successfully logged out from STACKIT Terraform Provider and SDK.")
3131
return nil
3232
},
3333
}

internal/cmd/auth/logout/logout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
2929
return fmt.Errorf("log out failed: %w", err)
3030
}
3131

32-
params.Printer.Info("Successfully logged out of the STACKIT CLI.\n")
32+
params.Printer.Outputln("Successfully logged out of the STACKIT CLI.")
3333
return nil
3434
},
3535
}

0 commit comments

Comments
 (0)