Skip to content

Commit

Permalink
Merge pull request #198 from linki/linki-patch-1
Browse files Browse the repository at this point in the history
Log found candicates as well
  • Loading branch information
linki authored Apr 20, 2020
2 parents 079b012 + 415fa87 commit 089bb2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chaoskube/chaoskube.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ func (c *Chaoskube) Victims(ctx context.Context) ([]v1.Pod, error) {
return []v1.Pod{}, err
}

c.Logger.WithField("count", len(pods)).Debug("found candidates")

if len(pods) == 0 {
return []v1.Pod{}, errPodNotFound
}
Expand Down

0 comments on commit 089bb2c

Please # to comment.