@@ -97,8 +97,6 @@ func (c *AzureCluster) setVnetDefaults() {
9797}
9898
9999func (c * AzureCluster ) setSubnetDefaults () {
100- fmt .Println ("These are the current subnets: " )
101- fmt .Println (c .Spec .NetworkSpec .Subnets )
102100 clusterSubnet , err := c .Spec .NetworkSpec .GetSubnet (SubnetCluster )
103101 clusterSubnetExists := err == nil
104102 if clusterSubnetExists {
@@ -162,10 +160,8 @@ func (c *AzureCluster) setSubnetDefaults() {
162160
163161func (s * SubnetSpec ) setNodeSubnetDefaults (clusterName string , index int ) {
164162 if s .Name == "" {
165- fmt .Println ("node subnet name is empty: " , s .Name )
166163 s .Name = withIndex (generateNodeSubnetName (clusterName ), index )
167164 }
168- fmt .Println ("node subnet name: " , s .Name )
169165 s .SubnetClassSpec .setDefaults (fmt .Sprintf (DefaultNodeSubnetCIDRPattern , index ))
170166
171167 if s .SecurityGroup .Name == "" {
@@ -192,10 +188,8 @@ func (s *SubnetSpec) setNodeSubnetDefaults(clusterName string, index int) {
192188
193189func (s * SubnetSpec ) setControlPlaneSubnetDefaults (clusterName string ) {
194190 if s .Name == "" {
195- fmt .Println ("control plane subnet name is empty: " , s .Name )
196191 s .Name = generateControlPlaneSubnetName (clusterName )
197192 }
198- fmt .Println ("control plane subnet name: " , s .Name )
199193
200194 s .SubnetClassSpec .setDefaults (DefaultControlPlaneSubnetCIDR )
201195
0 commit comments