fix typos;

remove unnecessary tests;
go fmt -s
This commit is contained in:
Murat Kabilov
2017-06-08 15:52:01 +02:00
committed by Oleksii Kliukin
parent e104a67260
commit 1540a2ba65
6 changed files with 18 additions and 34 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func (c *Cluster) Sync() error {
if c.Service[role] != nil {
// delete the left over replica service
if err := c.deleteService(role); err != nil {
return fmt.Errorf("could not delete obsolete %s service: %v", role)
return fmt.Errorf("could not delete obsolete %s service: %v", role, err)
}
}
continue