mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-08 17:16:48 +02:00
Fix err
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user