Adapt event test for kustomize-controller v0.15

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/1914/head
Stefan Prodan 3 years ago
parent 0e747790f9
commit a5238e867c
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -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…
Cancel
Save