Skip to content

Commit

Permalink
column
Browse files Browse the repository at this point in the history
Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
  • Loading branch information
Wwwsylvia committed Aug 24, 2023
1 parent d42cccc commit d6a34ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ func ensureAnnotationCreated(annotations map[string]string, annotationCreatedKey
// validateMediaType validates the format of mediaType.
func validateMediaType(mediaType string) error {
if !mediaTypeRegexp.MatchString(mediaType) {
return fmt.Errorf("%s %w", mediaType, errdef.ErrInvalidMediaType)
return fmt.Errorf("%s: %w", mediaType, errdef.ErrInvalidMediaType)
}
return nil
}

0 comments on commit d6a34ac

Please sign in to comment.