Skip to content

Commit bc755cc

Browse files
committed
remove debug code
1 parent e3bb5ca commit bc755cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/services/gcp/pkg/stub/handler.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,12 @@ func createCluster(cr *v1alpha1.GKECluster, log *logrus.Entry) (*v1alpha1.GKEClu
159159
}
160160

161161
if cr.Spec.StackType != "" {
162-
log.Infof("use stack type: %s", cr.Spec.StackType)
163162
if cr.Spec.StackType == "ipv4-ipv6" {
164163
args = append(args, "--network=gke-dualstack-network")
165164
args = append(args, "--subnetwork=gke-dualstack-subnet")
166165
args = append(args, "--stack-type=ipv4-ipv6")
167166
args = append(args, "--enable-dataplane-v2")
168-
log.Infof("enable dualstack network")
167+
log.Infof("enable stack type: %s", cr.Spec.StackType)
169168
}
170169
} else {
171170
if cr.Spec.EnableNetworkPolicy {

0 commit comments

Comments
 (0)