From cfca160cd5510876970a6cad438a6ffcf01a4a81 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Wed, 15 Oct 2014 14:56:15 -0700 Subject: [PATCH] formatting --- command/agent/agent.go | 3 ++- command/agent/local.go | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/command/agent/agent.go b/command/agent/agent.go index ee9e58f06e..35429b4409 100644 --- a/command/agent/agent.go +++ b/command/agent/agent.go @@ -463,7 +463,8 @@ func (a *Agent) RemoveService(serviceID string) error { // Protect "consul" service from deletion by a user if a.server != nil && serviceID == consul.ConsulServiceID { return fmt.Errorf( - "Deregistering the %s service is not allowed", consul.ConsulServiceID) + "Deregistering the %s service is not allowed", + consul.ConsulServiceID) } // Remove service immeidately diff --git a/command/agent/local.go b/command/agent/local.go index 8fa159c982..86b7e45ff2 100644 --- a/command/agent/local.go +++ b/command/agent/local.go @@ -334,7 +334,6 @@ func (l *localState) setSyncState() error { if id == consul.SerfCheckID { continue } - l.checkStatus[id] = syncStatus{remoteDelete: true} continue }