From b4c2ecff0e41751650d9a6880239425a62391708 Mon Sep 17 00:00:00 2001 From: Matthijs Wolters Date: Wed, 2 Oct 2024 14:24:26 +0200 Subject: [PATCH] Fix tabs in statuscake-monitor.go --- pkg/monitors/statuscake/statuscake-monitor.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/monitors/statuscake/statuscake-monitor.go b/pkg/monitors/statuscake/statuscake-monitor.go index ffea6a9c..f6d52d4f 100644 --- a/pkg/monitors/statuscake/statuscake-monitor.go +++ b/pkg/monitors/statuscake/statuscake-monitor.go @@ -205,9 +205,9 @@ func buildUpsertForm(m models.Monitor, cgroup string) url.Values { if providerConfig != nil && len(providerConfig.RawPostData) > 0 { f.Add("post_raw", providerConfig.RawPostData) } - if providerConfig != nil && len(providerConfig.UserAgent) > 0 { - f.Add("user_agent", providerConfig.UserAgent) - } + if providerConfig != nil && len(providerConfig.UserAgent) > 0 { + f.Add("user_agent", providerConfig.UserAgent) + } return f }