Skip to content

Commit

Permalink
🐛 update log message in handing pod reason
Browse files Browse the repository at this point in the history
  • Loading branch information
abahmed committed Jun 21, 2024
1 parent 9b5963a commit bc90d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filter/podStatusFilter.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (f PodStatusFilter) Execute(ctx *Context) bool {
!slices.Contains(ctx.Config.AllowedReasons, ctx.PodReason) {
logrus.Infof(
"skipping reason %s for pod %s as it is not in the reason allow list",
ctx.Container.Reason,
ctx.PodReason,
ctx.Pod.Name)
return true
}
Expand All @@ -65,7 +65,7 @@ func (f PodStatusFilter) Execute(ctx *Context) bool {
slices.Contains(ctx.Config.ForbiddenReasons, ctx.PodReason) {
logrus.Infof(
"skipping reason %s for pod %s as it is in the reason forbid list",
ctx.Container.Reason,
ctx.PodReason,
ctx.Pod.Name)
return true
}
Expand Down

0 comments on commit bc90d40

Please sign in to comment.