Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
udsamani committed Sep 11, 2024
1 parent a1a68c3 commit 33f5490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/s3/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ func (c PublisherSpec) ToMap() map[string]interface{} {

func DecodePublisherSpec(spec *models.SpecConfig) (PublisherSpec, error) {
if !spec.IsType(models.PublisherS3) {
return PublisherSpec{}, NewErrBadS3Request("invalid publisher type. expected %s, but received: %s",
models.PublisherS3, spec.Type)
return PublisherSpec{}, NewErrBadS3Request(fmt.Sprintf("invalid publisher type. expected %s, but received: %s",
models.PublisherS3, spec.Type))
}
inputParams := spec.Params
if inputParams == nil {
Expand Down

0 comments on commit 33f5490

Please sign in to comment.