Skip to content

Commit

Permalink
Update claim.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Whisper40 authored Nov 7, 2022
1 parent 3a8dee6 commit a368fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/claim.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (c *Controller) syncHandlerClaim(key string) error {
// List pod in the claim ns
pods, err := c.podsLister.Pods(claim.Namespace).List(utils.DefaultLabelSelector())

utils.FilterPods(pods) // Keep only Running and Pending Pods
pods = utils.FilterPods(pods) // Keep only Running Pods

if err != nil {
return err
Expand Down

0 comments on commit a368fe3

Please sign in to comment.