Skip to content

Commit

Permalink
fix shard bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mikechengwei committed Apr 11, 2021
1 parent 6a2eac3 commit a18c67e
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 a18c67e

Please sign in to comment.