Merge pull request #464 from hashicorp/f-consul-check

Changing the code comment
This commit is contained in:
Diptanu Choudhury 2015-11-18 19:35:15 -08:00
commit d60db5db1c

View file

@ -60,7 +60,7 @@ func NewConsulClient(logger *log.Logger, consulAddr string) (*ConsulClient, erro
}
func (c *ConsulClient) Register(task *structs.Task, allocID string) error {
// Nuking the service first so that we can re-sync everything cleanly
// Removing the service first so that we can re-sync everything cleanly
c.Deregister(task)
var mErr multierror.Error