Skip to content

Commit

Permalink
Merge pull request prometheus-operator#3974 from tongcheng-elong/shar…
Browse files Browse the repository at this point in the history
…dsfix

Fix inconsistency question between the number of pods and shard configuration
  • Loading branch information
brancz authored Apr 13, 2021
2 parents f5070c3 + a18c67e commit a3c3e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/prometheus/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ func (c *Operator) sync(ctx context.Context, key string) error {
oldSSetInputHash := obj.(*appsv1.StatefulSet).ObjectMeta.Annotations[sSetInputHashName]
if newSSetInputHash == oldSSetInputHash {
level.Debug(c.logger).Log("msg", "new statefulset generation inputs match current, skipping any actions")
return nil
continue
}

level.Debug(c.logger).Log("msg", "updating current Prometheus statefulset")
Expand Down

0 comments on commit a3c3e79

Please sign in to comment.