1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

revert: revert PR 1366 (#1588)

This commit is contained in:
Anthony Lapenna 2018-01-22 10:06:47 +01:00 committed by GitHub
parent c51db23c32
commit b1863430df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 31 deletions

View file

@ -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
}