Increase logging verbosity, restructure code

This commit is contained in:
Murat Kabilov
2017-05-12 11:41:28 +02:00
parent 3aaa05fb96
commit 79a6726d4d
7 changed files with 92 additions and 91 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ func (c *Controller) postgresqlUpdate(prev, cur interface{}) {
//TODO: Do not update cluster which is currently creating
if pgPrev.Metadata.ResourceVersion == pgNew.Metadata.ResourceVersion {
c.logger.Debugf("Skipping update with no resource version change")
c.logger.Infof("Skipping update with no resource version change")
return
}
pgCluster := c.clusters[clusterName] // current