File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1455,8 +1455,7 @@ func (c *Cluster) initSystemUsers() error {
14551455
14561456 // if the monitor object has been created, a monitoring user is required.
14571457 if c .Spec .Monitoring != nil {
1458- c .logger .Debugf ("MONITOR: Create cpo_monitoring user" )
1459- connectionPoolerUser := spec.PgUser {
1458+ MonitoringUser := spec.PgUser {
14601459 Origin : spec .RoleMonitoring ,
14611460 Name : constants .MonitoringUserKeyName ,
14621461 Namespace : c .Namespace ,
@@ -1465,7 +1464,7 @@ func (c *Cluster) initSystemUsers() error {
14651464 }
14661465
14671466 if _ , exists := c .systemUsers [constants .MonitoringUserKeyName ]; ! exists {
1468- c .systemUsers [constants .ConnectionPoolerUserKeyName ] = connectionPoolerUser
1467+ c .systemUsers [constants .MonitoringUserKeyName ] = MonitoringUser
14691468 }
14701469 }
14711470
You can’t perform that action at this time.
0 commit comments