Skip to content

Commit

Permalink
hide spamming print
Browse files Browse the repository at this point in the history
  • Loading branch information
LbP22 committed Feb 28, 2024
1 parent bf8990f commit 344ac62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/backend/app/routes/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func AddHost(w http.ResponseWriter, req *http.Request) {
}

vars.AgentsActiveContainers[addReq.Hostname] = addReq.Services
fmt.Println("New host added: " + addReq.Hostname)
// fmt.Println("New host added: " + addReq.Hostname) need to create separate route for SendUpdate func
for _, container := range addReq.Services {
os.MkdirAll("leveldb/hosts/"+addReq.Hostname+"/containers/"+container, 0700)
}
Expand Down

0 comments on commit 344ac62

Please sign in to comment.