@@ -27,6 +27,7 @@ import (
2727 "fmt"
2828 "time"
2929
30+ "k8s.io/utils/pointer"
3031 "sigs.k8s.io/yaml"
3132
3233 current "github.com/IBM-Blockchain/fabric-operator/api/v1beta1"
@@ -939,7 +940,7 @@ func GetOrderer() (*Orderer, []Orderer) {
939940 },
940941 },
941942 ConfigOverride : & runtime.RawExtension {Raw : configBytes },
942- DisableNodeOU : & current . BoolTrue ,
943+ DisableNodeOU : pointer . Bool ( true ) ,
943944 FabricVersion : integration .FabricVersion + "-1" ,
944945 },
945946 }
@@ -1022,7 +1023,7 @@ func GetOrderer2() (*Orderer, []Orderer) {
10221023 Limits : defaultLimitsProxy ,
10231024 },
10241025 },
1025- DisableNodeOU : & current . BoolTrue ,
1026+ DisableNodeOU : pointer . Bool ( true ) ,
10261027 FabricVersion : integration .FabricVersion + "-1" ,
10271028 },
10281029 }
@@ -1117,7 +1118,7 @@ func GetOrderer3() (*Orderer, []Orderer) {
11171118 Region : "us-south2" ,
11181119 },
11191120 },
1120- DisableNodeOU : & current . BoolTrue ,
1121+ DisableNodeOU : pointer . Bool ( true ) ,
11211122 FabricVersion : integration .FabricVersion + "-1" ,
11221123 },
11231124 }
@@ -1200,7 +1201,7 @@ func GetOrderer4() (*Orderer, []Orderer) {
12001201 Limits : defaultLimitsProxy ,
12011202 },
12021203 },
1203- DisableNodeOU : & current . BoolTrue ,
1204+ DisableNodeOU : pointer . Bool ( true ) ,
12041205 FabricVersion : integration .FabricVersion + "-1" ,
12051206 },
12061207 }
@@ -1268,7 +1269,7 @@ func GetOrderer5() (*Orderer, []Orderer) {
12681269 },
12691270 OrdererType : "etcdraft" ,
12701271 SystemChannelName : "testchainid" ,
1271- UseChannelLess : & current . BoolTrue ,
1272+ UseChannelLess : pointer . Bool ( true ) ,
12721273 OrgName : "orderermsp" ,
12731274 MSPID : "orderermsp" ,
12741275 ImagePullSecrets : []string {"regcred" },
@@ -1297,7 +1298,7 @@ func GetOrderer5() (*Orderer, []Orderer) {
12971298 Limits : defaultLimitsProxy ,
12981299 },
12991300 },
1300- DisableNodeOU : & current . BoolTrue ,
1301+ DisableNodeOU : pointer . Bool ( true ) ,
13011302 FabricVersion : integration .FabricVersion24 + "-1" ,
13021303 },
13031304 }
0 commit comments