File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
internal/cnpgi/operator/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ func (config *PluginConfiguration) GetRecoveryBarmanObjectKey() types.Namespaced
7979func (config * PluginConfiguration ) GetReplicaSourceBarmanObjectKey () types.NamespacedName {
8080 return types.NamespacedName {
8181 Namespace : config .Cluster .Namespace ,
82- Name : config .ReplicaSourceServerName ,
82+ Name : config .ReplicaSourceBarmanObjectName ,
8383 }
8484}
8585
@@ -151,7 +151,7 @@ func NewFromCluster(cluster *cnpgv1.Cluster) *PluginConfiguration {
151151 if replicaSourceParameters := getReplicaSourceParameters (cluster ); replicaSourceParameters != nil {
152152 replicaSourceBarmanObjectName = replicaSourceParameters ["barmanObjectName" ]
153153 replicaSourceServerName = replicaSourceParameters ["serverName" ]
154- if len (recoveryServerName ) == 0 {
154+ if len (replicaSourceServerName ) == 0 {
155155 replicaSourceServerName = cluster .Name
156156 }
157157 }
You can’t perform that action at this time.
0 commit comments