Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
Merge pull request #223 from cloudflare/v04-fix-args
Browse files Browse the repository at this point in the history
Drop the path from v0.4 query args
  • Loading branch information
prymitive committed Jan 26, 2018
2 parents 3736474 + ded69c1 commit b88aa4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/mapper/v04/silences.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (m SilenceMapper) AbsoluteURL(baseURI string) (string, error) {
func (m SilenceMapper) QueryArgs() string {
// Alertmanager 0.4 uses pagination for silences, pass a huge value so that
// we get all possible silences
return fmt.Sprintf("api/v1/silences?limit=%d", math.MaxInt32)
return fmt.Sprintf("limit=%d", math.MaxInt32)
}

// IsSupported returns true if given version string is supported
Expand Down

0 comments on commit b88aa4a

Please sign in to comment.