Skip to content

Commit

Permalink
Fix ruler API (#3917)
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Pracucci <marco@pracucci.com>
  • Loading branch information
pracucci authored Mar 5, 2021
1 parent ee33b36 commit d6d0669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ruler/ruler.go
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ func (r *Ruler) getShardedRules(ctx context.Context) ([]*GroupStateDesc, error)
return nil, err
}
cc := NewRulerClient(conn)
newGrps, err := cc.Rules(ctx, nil)
newGrps, err := cc.Rules(ctx, &RulesRequest{})

// Close the gRPC connection regardless the RPC was successful or not.
if closeErr := conn.Close(); closeErr != nil {
Expand Down

0 comments on commit d6d0669

Please sign in to comment.