diff --git a/pkg/aws/ocpgwdeployer.go b/pkg/aws/ocpgwdeployer.go index 5ec4ee84..5024f0a2 100644 --- a/pkg/aws/ocpgwdeployer.go +++ b/pkg/aws/ocpgwdeployer.go @@ -246,8 +246,6 @@ func (d *ocpGatewayDeployer) findAMIID(vpcID string) (string, error) { func (d *ocpGatewayDeployer) loadGatewayYAML(gatewaySecurityGroup, amiID string, publicSubnet *types.Subnet) ([]byte, error) { var buf bytes.Buffer - // TODO: Not working properly, but we should revisit this as it makes more sense - // tpl, err := template.ParseFiles("pkg/aws/gw-machineset.yaml.template") tpl, err := template.New("").Parse(machineSetYAML) if err != nil { return nil, errors.Wrap(err, "error parsing machine set YAML") diff --git a/pkg/gcp/ocpgwdeployer.go b/pkg/gcp/ocpgwdeployer.go index fdd70849..d6b07d95 100644 --- a/pkg/gcp/ocpgwdeployer.go +++ b/pkg/gcp/ocpgwdeployer.go @@ -171,8 +171,6 @@ type machineSetConfig struct { func (d *ocpGatewayDeployer) loadGatewayYAML(zone, image string) ([]byte, error) { var buf bytes.Buffer - // TODO: Not working properly, but we should revisit this as it makes more sense - // tpl, err := template.ParseFiles("pkg/aws/gw-machineset.yaml.template") tpl, err := template.New("").Parse(machineSetYAML) if err != nil { return nil, errors.Wrap(err, "error parsing machine set YAML") diff --git a/pkg/rhos/ocpgwdeployer.go b/pkg/rhos/ocpgwdeployer.go index 6169d956..95069c61 100644 --- a/pkg/rhos/ocpgwdeployer.go +++ b/pkg/rhos/ocpgwdeployer.go @@ -73,8 +73,6 @@ type machineSetConfig struct { func (d *ocpGatewayDeployer) loadGatewayYAML(uuidGW, image string, useInternalSG bool) ([]byte, error) { var buf bytes.Buffer - // TODO: Not working properly, but we should revisit this as it makes more sense - // tpl, err := template.ParseFiles("pkg/aws/gw-machineset.yaml.template") tpl, err := template.New("").Parse(machineSetYAML) if err != nil { return nil, errors.Wrap(err, "failed to create machine set template")