#1 fix version check
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kekskurse 2022-03-10 19:42:57 +01:00
parent b93ac4639d
commit 6ff70bd77b
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -21,6 +21,7 @@ func (h Version) Execute() (ok bool, data interface{}, err error) {
return true, nil, nil return true, nil, nil
} }
resp, err := http.Get("https://git.keks.cloud/api/v1/repos/kekskurse/http-server-status/releases?limit=1") resp, err := http.Get("https://git.keks.cloud/api/v1/repos/kekskurse/http-server-status/releases?limit=1")
defer resp.Body.Close()
var g []struct { var g []struct {
TagName string `json:"tag_name"` TagName string `json:"tag_name"`