diff --git a/internal/pkg/alerting/gchat.go b/internal/pkg/alerting/gchat.go index 73e2b303..8ad0c2f7 100644 --- a/internal/pkg/alerting/gchat.go +++ b/internal/pkg/alerting/gchat.go @@ -24,8 +24,8 @@ func NewGChatAlerter(webhookURL, proxyURL, additional string) *GChatAlerter { // gchatMessage represents a Google Chat message. type gchatMessage struct { - Text string `json:"text,omitempty"` - Cards []gchatCard `json:"cards,omitempty"` + Text string `json:"text,omitempty"` + Cards []gchatCard `json:"cards,omitempty"` } type gchatCard struct { diff --git a/internal/pkg/leadership/leadership_test.go b/internal/pkg/leadership/leadership_test.go index eed07056..d850e7a9 100644 --- a/internal/pkg/leadership/leadership_test.go +++ b/internal/pkg/leadership/leadership_test.go @@ -1,3 +1,6 @@ +//go:build integration +// +build integration + package leadership import (