Skip to content

Commit

Permalink
chore: update messages
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwelbm committed Jul 10, 2024
1 parent 9c69df0 commit 7685505
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions messages/personal_token/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package personal_token

const (
USAGE = "personal-token"
SHORT_DESCRIPTION_DESCRIBE = "Describe a Personal Token"
LONG_DESCRIPTION_DESCRIBE = "Describe a Personal Token to be used for authentication and security"
ASK_PERSONAL_TOKEN_ID = "Enter the ID of the personal token is linked to:"
FLAG_PERSONAL_TOKEN_ID = "Unique identifier for an personal token"
SHORT_DESCRIPTION_DESCRIBE = "Describe a Personal Token's"
LONG_DESCRIPTION_DESCRIBE = "Describe a Personal Token's to be used for authentication and security"
ASK_PERSONAL_TOKEN_ID = "Enter the Personal Token's ID:"
FLAG_PERSONAL_TOKEN_ID = "Unique identifier for an Personal Token's"
FLAG_HELP_DESCRIBE = "Displays more information about the describe personal-token subcommand"
)
2 changes: 1 addition & 1 deletion pkg/api/personal_token/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (c *Client) Get(ctx context.Context, personalTokenID string) (*sdk.Personal
resp, httpResp, err := c.apiClient.PersonalTokenApi.GetPersonalToken(ctx, personalTokenID).Execute()
if err != nil {
if httpResp != nil {
logger.Debug("Error while get your personal token", zap.Error(err))
logger.Debug("Error while describing your personal token", zap.Error(err))
err := utils.LogAndRewindBody(httpResp)
if err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/personal_token/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func (c *Client) List(ctx context.Context) ([]sdk.PersonalTokenResponseGet, erro
resp, httpResp, err := c.apiClient.PersonalTokenApi.ListPersonalToken(ctx).Execute()
if err != nil {
if httpResp != nil {
logger.Debug("Error while list your personal token", zap.Error(err))
logger.Debug("Error while listing your personal token", zap.Error(err))
err := utils.LogAndRewindBody(httpResp)
if err != nil {
return nil, err
Expand Down

0 comments on commit 7685505

Please sign in to comment.