Skip to content

Commit

Permalink
fix: remove extra whitespace in error message in CertificateService (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
szesch committed Jun 30, 2023
1 parent ddb9403 commit 9132554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/certificate_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (s *CertificateService) Update(ctx context.Context,
certificate *Certificate,
) (*Certificate, error) {
if isEmptyString(certificate.ID) {
return nil, fmt.Errorf("ID cannot be nil for Update op eration")
return nil, fmt.Errorf("ID cannot be nil for Update operation")
}

endpoint := fmt.Sprintf("/certificates/%v", *certificate.ID)
Expand Down

0 comments on commit 9132554

Please sign in to comment.