Removing debug Printf statements
This commit is contained in:
parent
cfa232741d
commit
cc795b917a
1 changed files with 0 additions and 4 deletions
4
web.go
4
web.go
|
@ -145,13 +145,9 @@ func GetServerHandler(rw http.ResponseWriter, r *http.Request) {
|
||||||
providerId := vars["provider"]
|
providerId := vars["provider"]
|
||||||
backendId := vars["backend"]
|
backendId := vars["backend"]
|
||||||
serverId := vars["server"]
|
serverId := vars["server"]
|
||||||
fmt.Printf("%v %v %v\n", providerId, backendId, serverId)
|
|
||||||
if provider, ok := currentConfigurations[providerId]; ok {
|
if provider, ok := currentConfigurations[providerId]; ok {
|
||||||
fmt.Printf("provider OK\n")
|
|
||||||
if backend, ok := provider.Backends[backendId]; ok {
|
if backend, ok := provider.Backends[backendId]; ok {
|
||||||
fmt.Printf("backend OK\n")
|
|
||||||
if server, ok := backend.Servers[serverId]; ok {
|
if server, ok := backend.Servers[serverId]; ok {
|
||||||
fmt.Printf("server OK\n")
|
|
||||||
templatesRenderer.JSON(rw, http.StatusOK, server)
|
templatesRenderer.JSON(rw, http.StatusOK, server)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue