Skip to content

Commit

Permalink
metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <[email protected]>
  • Loading branch information
sverdlov93 committed Aug 15, 2024
1 parent 27444ca commit 173171e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artifactory/services/security.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (ss *SecurityService) CreateToken(params CreateTokenParams) (auth.CreateTok
return tokenInfo, fmt.Errorf("%s create token: %w", unexpectedServerResponsePrefix, err)
}
if err = json.Unmarshal(body, &tokenInfo); err != nil {
return tokenInfo, errorutils.CheckErrorf("%s create token: %w", couldntParseServerResponsePrefix, err.Error())
return tokenInfo, errorutils.CheckErrorf("%s create token: %s", couldntParseServerResponsePrefix, err.Error())
}
return tokenInfo, nil
}
Expand Down

0 comments on commit 173171e

Please sign in to comment.