mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 15:41:47 +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" {
|
if event.InvolvedObject.Kind != "Kustomization" {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if event.Message != "Health check passed" {
|
if strings.Contains(event.Message, "Health check passed") {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue