#1 fix version check
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b93ac4639d
commit
6ff70bd77b
1 changed files with 1 additions and 0 deletions
|
@ -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"`
|
||||||
|
|
Loading…
Reference in a new issue