reimported logs without import cycle
This commit is contained in:
parent
03dea55131
commit
387785b40c
@ -5,9 +5,9 @@ import (
|
||||
"errors"
|
||||
"strings"
|
||||
|
||||
oclib "cloud.o-forge.io/core/oc-lib"
|
||||
"cloud.o-forge.io/core/oc-lib/config"
|
||||
"cloud.o-forge.io/core/oc-lib/dbs/mongo"
|
||||
"cloud.o-forge.io/core/oc-lib/logs"
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
@ -136,7 +136,7 @@ func (a *API) CheckRemotePeer(url string) (State, map[string]int) {
|
||||
// CheckRemoteAPIs checks the state of remote APIs from your proper OC
|
||||
func (a *API) CheckRemoteAPIs(apis []DataType) (State, map[string]string, error) {
|
||||
// Check if the database is up
|
||||
l := oclib.GetLogger()
|
||||
l := logs.GetLogger()
|
||||
new := map[string]string{}
|
||||
caller := NewHTTPCaller(map[DataType]map[METHOD]string{}) // Create a new http caller
|
||||
code := 0
|
||||
|
Loading…
Reference in New Issue
Block a user