Skip to content

Commit 9b1db28

Browse files
committed
Removal of comments
1 parent 0761935 commit 9b1db28

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

api/v1beta1/azurecluster_default.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ func (c *AzureCluster) setVnetDefaults() {
9797
}
9898

9999
func (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

163161
func (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

193189
func (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

Comments
 (0)