From 084b4c2d6a553bffb71ffad2863487d36cadf07d Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Fri, 26 Jul 2024 14:35:59 -0400 Subject: [PATCH] parens on newline --- controllers/cloudinit/controlplane_init.go | 3 ++- controllers/cloudinit/controlplane_join.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/controllers/cloudinit/controlplane_init.go b/controllers/cloudinit/controlplane_init.go index 1de09e4..9750307 100644 --- a/controllers/cloudinit/controlplane_init.go +++ b/controllers/cloudinit/controlplane_init.go @@ -143,7 +143,8 @@ func NewInitControlPlane(input *ControlPlaneInitInput) (*CloudConfig, error) { fmt.Sprintf("%s %q %q", scriptPath(snapstoreHTTPProxyScript), input.SnapstoreHTTPProxy, input.SnapstoreHTTPSProxy), fmt.Sprintf("%s %q %q", scriptPath(snapstoreProxyScript), input.SnapstoreProxyDomain, input.SnapstoreProxyId), scriptPath(disableHostServicesScript), - fmt.Sprintf("%s %q", scriptPath(installMicroK8sScript), installArgs)) + fmt.Sprintf("%s %q", scriptPath(installMicroK8sScript), installArgs), + ) if input.DisableDefaultCNI { cloudConfig.RunCommands = append(cloudConfig.RunCommands, scriptPath(disableDefaultCNIScript)) diff --git a/controllers/cloudinit/controlplane_join.go b/controllers/cloudinit/controlplane_join.go index 8ef3dc0..1b23263 100644 --- a/controllers/cloudinit/controlplane_join.go +++ b/controllers/cloudinit/controlplane_join.go @@ -125,7 +125,8 @@ func NewJoinControlPlane(input *ControlPlaneJoinInput) (*CloudConfig, error) { fmt.Sprintf("%s %q %q", scriptPath(snapstoreHTTPProxyScript), input.SnapstoreHTTPProxy, input.SnapstoreHTTPSProxy), fmt.Sprintf("%s %q %q", scriptPath(snapstoreProxyScript), input.SnapstoreProxyDomain, input.SnapstoreProxyId), scriptPath(disableHostServicesScript), - fmt.Sprintf("%s %q", scriptPath(installMicroK8sScript), installArgs)) + fmt.Sprintf("%s %q", scriptPath(installMicroK8sScript), installArgs), + ) if input.DisableDefaultCNI { cloudConfig.RunCommands = append(cloudConfig.RunCommands, scriptPath(disableDefaultCNIScript))