Skip to content

Commit

Permalink
Fix Update artifact config method to PUT
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsbhat committed Jun 12, 2023
1 parent 2fb9958 commit c5369e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artifacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (conf *client) UpdateArtifactConfig(info ArtifactInfo) (ArtifactInfo, error
"If-Match": info.ETAG,
}).
SetBody(info).
Post(ArtifactInfoEndpoint)
Put(ArtifactInfoEndpoint)
if err != nil {
return ArtifactInfo{}, &errors.APIError{Err: err, Message: "update artifacts info"}
}
Expand Down

0 comments on commit c5369e8

Please sign in to comment.