Skip to content

Commit

Permalink
Add non-nil Data because Go 1.7 needs it
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Boreham <[email protected]>
  • Loading branch information
bboreham committed Jun 1, 2018
1 parent 33b86be commit 2801796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/prometheus/v1/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ func TestAPIClientDo(t *testing.T) {
{
response: &apiResponse{
Status: "error",
Data: json.RawMessage(`null`),
ErrorType: ErrBadData,
Error: "end timestamp must not be before start time",
},
Expand Down

0 comments on commit 2801796

Please sign in to comment.