Fix UA mistake

This commit is contained in:
Alex D. 2023-02-21 14:41:50 +00:00
parent a05a02230e
commit 6489774ca1
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func Query(uname string, api_key string, tags []string, j_max Jobs, tout time.Du
},
Header: make(http.Header),
}
q.Header.Set("user-agent", "gomon/1.0 (caskd, https://git.redxen.eu/caskd/gomon)")
q.Header.Set("user-agent", "goboru/1.0 (caskd@redxen.eu, https://git.redxen.eu/caskd/goboru)")
uq := q.URL.Query()
uq.Set("tags", strings.Join(tags, " "))
if uname != "" && api_key != "" {