File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ func (c *customPluginMonitor) generateStatus(result cpmtypes.Result) *types.Stat
140140 }
141141 }
142142
143- events = append (events , util .GenerateWarnConditionChangeEvent (
143+ events = append (events , util .GenerateConditionChangeEvent (
144144 condition .Type ,
145145 status ,
146146 defaultConditionReason ,
@@ -154,7 +154,7 @@ func (c *customPluginMonitor) generateStatus(result cpmtypes.Result) *types.Stat
154154 // change 2: Condition status change from False/Unknown to True
155155 condition .Transition = timestamp
156156 condition .Message = result .Message
157- events = append (events , util .GenerateConditionChangeEvent (
157+ events = append (events , util .GenerateWarnConditionChangeEvent (
158158 condition .Type ,
159159 status ,
160160 result .Rule .Reason ,
You can’t perform that action at this time.
0 commit comments