Skip to content

Commit 7f8113d

Browse files
committed
Updated error message
1 parent 211898f commit 7f8113d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/personalaccesstoken/personalaccesstoken.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func (c *Command) parseTokenArgs() error {
9090

9191
TTL, err := strconv.Atoi(rawTTL)
9292
if err != nil || TTL < 0 {
93-
return fmt.Errorf("invalid value for days_ttl: '%s'", rawTTL)
93+
return fmt.Errorf("Invalid value for days_ttl: '%s'", rawTTL) //nolint:stylecheck //message is customer facing
9494
}
9595

9696
c.TokenArgs.ExpiresDate = time.Now().AddDate(0, 0, TTL+1).Format(expiresDateFormat)

0 commit comments

Comments
 (0)