mirror of https://github.com/portainer/portainer
revert: revert PR 1366 (#1588)
parent
c51db23c32
commit
b1863430df
@ -1,11 +0,0 @@
|
||||
package http
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// HealthCheck GETs /api/status
|
||||
func HealthCheck(addr string) (int, error) {
|
||||
resp, err := http.Get("http://" + addr + "/api/status")
|
||||
return resp.StatusCode, err
|
||||
}
|
Loading…
Reference in new issue