From aecfd500f15ba52a1e0fc4a0abb0af8b178a1118 Mon Sep 17 00:00:00 2001 From: Jakub Al-Khalili Date: Fri, 2 Aug 2019 14:37:52 +0200 Subject: [PATCH] Fix err --- internal/notifier/msteams_test.go | 2 +- internal/notifier/slack_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/notifier/msteams_test.go b/internal/notifier/msteams_test.go index f19bcf2e..bc52715d 100644 --- a/internal/notifier/msteams_test.go +++ b/internal/notifier/msteams_test.go @@ -85,7 +85,7 @@ func TestTeams_Send(t *testing.T) { err := notification.K8sClient.Create(context.TODO(), secret) assert.NoError(t, err) - err := teams.Send(notification, v1alpha2.Notification{ + err = teams.Send(notification, v1alpha2.Notification{ Teams: v1alpha2.Teams{ URLSecretKeySelector: v1alpha2.SecretKeySelector{ LocalObjectReference: corev1.LocalObjectReference{ diff --git a/internal/notifier/slack_test.go b/internal/notifier/slack_test.go index 67cf751f..cb5f3221 100644 --- a/internal/notifier/slack_test.go +++ b/internal/notifier/slack_test.go @@ -84,7 +84,7 @@ func TestSlack_Send(t *testing.T) { slack := Slack{} - err := slack.Send(notification, v1alpha2.Notification{ + err = slack.Send(notification, v1alpha2.Notification{ Slack: v1alpha2.Slack{ URLSecretKeySelector: v1alpha2.SecretKeySelector{ LocalObjectReference: corev1.LocalObjectReference{