Skip to content

Commit

Permalink
Merge branch 'devel' into dup_strings
Browse files Browse the repository at this point in the history
  • Loading branch information
yboaron authored Jul 24, 2024
2 parents 117d362 + f57f1a6 commit cdb4002
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions pkg/aws/ocpgwdeployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 0 additions & 2 deletions pkg/gcp/ocpgwdeployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 0 additions & 2 deletions pkg/rhos/ocpgwdeployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit cdb4002

Please sign in to comment.