Skip to content

Commit

Permalink
Merge pull request rook#8191 from leseb/fix-loop-break
Browse files Browse the repository at this point in the history
ceph: fix ineffective break statement
  • Loading branch information
leseb authored Jun 25, 2021
2 parents 36bedf6 + 23298ba commit 507f913
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/operator/ceph/cluster/cleanup.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ func (c *ClusterController) waitForCephDaemonCleanUp(stopCleanupCh chan struct{}

logger.Debugf("waiting for ceph daemons in cluster %q to be cleaned up. Retrying in %q",
cluster.Namespace, retryInterval.String())
break
case <-stopCleanupCh:
return errors.New("cancelling the host cleanup job")
}
Expand Down

0 comments on commit 507f913

Please sign in to comment.