Merge pull request #1914 from fluxcd/fix-event-hub-test

This commit is contained in:
Hidde Beydals 2021-10-09 08:57:07 +02:00 committed by GitHub
commit 10475b24c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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