mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 09:17:27 +00:00
Adapt event test for kustomize-controller v0.15
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
0e747790f9
commit
a5238e867c
1 changed files with 1 additions and 1 deletions
|
|
@ -814,7 +814,7 @@ func TestEventHubNotification(t *testing.T) {
|
|||
if event.InvolvedObject.Kind != "Kustomization" {
|
||||
return false
|
||||
}
|
||||
if event.Message != "Health check passed" {
|
||||
if strings.Contains(event.Message, "Health check passed") {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
|
|
|||
Loading…
Reference in a new issue