minor fix

This commit is contained in:
Felix Kunde 2020-02-12 11:36:47 +01:00
parent ce28bf1cc4
commit a1f90d4a32
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ func (c *Cluster) updateService(role PostgresRole, newService *v1.Service) error
return true, nil
}
return false, err2
})return
})
if err != nil {
return fmt.Errorf("could not delete endpoint %q: %v", currentEndpoint, err)
}