Skip to content

Commit

Permalink
Simplifying condition
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
  • Loading branch information
Danny Kopping committed Oct 7, 2021
1 parent dffabca commit de2d601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ruler/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func (r *walRegistry) getTenantRemoteWriteConfig(tenant string, base RemoteWrite
overrides.Client.MetadataConfig = config.MetadataConfig{Send: false}
overrides.Client.SigV4Config = nil

if v := r.overrides.RulerRemoteWriteDisabled(tenant); v {
if r.overrides.RulerRemoteWriteDisabled(tenant) {
overrides.Enabled = false
}

Expand Down

0 comments on commit de2d601

Please sign in to comment.