@@ -426,7 +426,7 @@ topologySpreadConstraints:
426426 "involvedObject.kind" : "PostgresCluster" ,
427427 "involvedObject.name" : clusterName ,
428428 "involvedObject.namespace" : ns .Name ,
429- "involvedObject.uid" : string ( clusterUID ) ,
429+ "involvedObject.uid" : clusterUID ,
430430 "reason" : "RepoHostCreated" ,
431431 }); err != nil {
432432 return false , err
@@ -739,7 +739,7 @@ func TestReconcileStanzaCreate(t *testing.T) {
739739 "involvedObject.kind" : "PostgresCluster" ,
740740 "involvedObject.name" : clusterName ,
741741 "involvedObject.namespace" : ns .Name ,
742- "involvedObject.uid" : string ( clusterUID ) ,
742+ "involvedObject.uid" : clusterUID ,
743743 "reason" : "StanzasCreated" ,
744744 }); err != nil {
745745 return false , err
@@ -783,7 +783,7 @@ func TestReconcileStanzaCreate(t *testing.T) {
783783 "involvedObject.kind" : "PostgresCluster" ,
784784 "involvedObject.name" : clusterName ,
785785 "involvedObject.namespace" : ns .Name ,
786- "involvedObject.uid" : string ( clusterUID ) ,
786+ "involvedObject.uid" : clusterUID ,
787787 "reason" : "UnableToCreateStanzas" ,
788788 }); err != nil {
789789 return false , err
0 commit comments