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:
parent
c51db23c32
commit
b1863430df
7 changed files with 0 additions and 31 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue