1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00

fix: cleaning up artifactory

This commit is contained in:
Carlos Alexandro Becker 2017-12-17 22:50:49 -02:00
parent ab5e431b95
commit 9ac3b8cf79
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -333,10 +333,6 @@ type Error struct {
Message string `json:"message"` // Message describing the error.
}
func (e *Error) Error() string {
return fmt.Sprintf("%v (%v)", e.Message, e.Status)
}
// checkResponse checks the API response for errors, and returns them if
// present. A response is considered an error if it has a status code outside
// the 200 range.