try again
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-02-11 11:56:30 +11:00
parent 45685ce592
commit 6a8b4bed28
4 changed files with 8 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ type ClientInfo struct {
Response ServerResponse `json:"response,omitempty"`
}
//ServerResponse : Response from server after client request
// ServerResponse : Response from server after client request
type ServerResponse struct {
Status bool `json:"status,omitempty"`
Reason string `json:"reason,omitempty"`
@@ -106,7 +106,7 @@ func serverRequest() (err error) {
if resp.StatusCode != http.StatusOK {
//fmt.Println(resp.StatusCode, Updater.URL, Updater.CMD)
err = fmt.Errorf(fmt.Sprintf("%d: %s (%s)", resp.StatusCode, http.StatusText(resp.StatusCode), Updater.URL))
err = fmt.Errorf("%d: %s (%s)", resp.StatusCode, http.StatusText(resp.StatusCode), Updater.URL)
return err
}