Merge pull request #714 from ryanslade/patch-1

Fix a typo
This commit is contained in:
Alex Dadgar 2016-01-27 10:14:45 -08:00
commit d3f0464284

View file

@ -306,7 +306,7 @@ func (c *ConsulService) registerService(service *structs.Service, task *structs.
for _, check := range service.Checks { for _, check := range service.Checks {
cr := c.makeCheck(serviceID, check, host, port) cr := c.makeCheck(serviceID, check, host, port)
if err := c.registerCheck(cr); err != nil { if err := c.registerCheck(cr); err != nil {
c.printLogMessage("[DEBUG] consul: error while registerting check %v with consul: %v", check.Name, err) c.printLogMessage("[DEBUG] consul: error while registering check %v with consul: %v", check.Name, err)
mErr.Errors = append(mErr.Errors, err) mErr.Errors = append(mErr.Errors, err)
} }