From 8b3ad893362f3afbe82cd783d9a81b8511330ac5 Mon Sep 17 00:00:00 2001 From: TheiLLeniumStudios <104288623+TheiLLeniumStudios@users.noreply.github.com> Date: Sun, 28 Dec 2025 08:47:54 +0100 Subject: [PATCH] chore: Fix formatting issues --- internal/pkg/alerting/gchat.go | 4 ++-- internal/pkg/leadership/leadership_test.go | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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 (