Fix UA mistake
This commit is contained in:
parent
a05a02230e
commit
6489774ca1
|
@ -130,7 +130,7 @@ func Query(uname string, api_key string, tags []string, j_max Jobs, tout time.Du
|
||||||
},
|
},
|
||||||
Header: make(http.Header),
|
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 := q.URL.Query()
|
||||||
uq.Set("tags", strings.Join(tags, " "))
|
uq.Set("tags", strings.Join(tags, " "))
|
||||||
if uname != "" && api_key != "" {
|
if uname != "" && api_key != "" {
|
||||||
|
|
Loading…
Reference in New Issue