From e639c7d2e766e5b65fbf6379882c7bdb8b4b8b3a Mon Sep 17 00:00:00 2001 From: log1-c <24474580+log1-c@users.noreply.github.com> Date: Mon, 13 Nov 2023 15:10:18 +0100 Subject: [PATCH] d in SiteId is now lowercase Check stopped working some days ago, producing a "segmentation fault". Took a look at the API docs of S1 and changed the `d` in `SiteId` to lowercase. That makes the check work again --- check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check.go b/check.go index 28b091a..934d947 100644 --- a/check.go +++ b/check.go @@ -76,7 +76,7 @@ func (c *Config) Run() (rc int, output string, err error) { return } - values.Set("siteIDs", siteID) + values.Set("siteIds", siteID) } if c.ComputerName != "" {