Skip to content

Commit

Permalink
Fix AM breaking change
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Protasio <[email protected]>
  • Loading branch information
alanprot committed Jan 6, 2023
1 parent b9d9f11 commit 9688e04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/alertmanager/alertmanager_http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestMultitenantAlertmanager_GetStatusHandler(t *testing.T) {
true,
cluster.DefaultPushPullInterval,
cluster.DefaultGossipInterval,
cluster.DefaultTcpTimeout,
cluster.DefaultTCPTimeout,
cluster.DefaultProbeTimeout,
cluster.DefaultProbeInterval,
nil,
Expand Down
2 changes: 1 addition & 1 deletion pkg/storegateway/gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ func readSamplesFromChunks(rawChunks []storepb.AggrChunk) ([]sample, error) {
}

it := c.Iterator(nil)
for it.Next() {
for it.Next() != chunkenc.ValNone {
if it.Err() != nil {
return nil, it.Err()
}
Expand Down

0 comments on commit 9688e04

Please sign in to comment.