aboutsummaryrefslogtreecommitdiff
path: root/services_controller.go
diff options
context:
space:
mode:
Diffstat (limited to 'services_controller.go')
-rw-r--r--services_controller.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/services_controller.go b/services_controller.go
index 566f6ba..aea4693 100644
--- a/services_controller.go
+++ b/services_controller.go
@@ -86,12 +86,8 @@ func (sc *ServicesController) DeleteService(c context.Context, service Service)
defer sc.mutex.Unlock()
if err := sc.storage.Delete(Services).Context(c).Filter(OrderedDocument{{"_id", service.Port}}).One(); err != nil {
- log.Println(service)
- log.Println(err)
return errors.New(err.Error())
} else {
- log.Println(err)
- log.Println(sc.services)
delete(sc.services, service.Port)
return nil
}