Skip to content

Commit

Permalink
fix sigterm
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Burt committed May 23, 2022
1 parent c22ca7d commit 7dff837
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Expand Up @@ -599,7 +599,9 @@ func (c *controller) populate(ctx context.Context, hashrings []receive.HashringC

if kerrors.IsNotFound(err) {
continue
} else if !podutil.IsPodReady(pod) {
}

if !podutil.IsPodReady(pod) {
level.Warn(c.logger).Log("msg", "failed adding pod to hashring, pod not ready", "pod", podName, "err", err)
continue
}
Expand Down

0 comments on commit 7dff837

Please sign in to comment.