From 81278122fc6ca71a7e10e96d313615acd7cb2ed5 Mon Sep 17 00:00:00 2001 From: Carlos Boneti Date: Mon, 8 Aug 2022 15:22:49 -0700 Subject: [PATCH] Fixing formatting in go files to pass weekly build. Changes to be committed: modified: ghpc.go modified: pkg/config/config.go modified: pkg/modulewriter/tfwriter.go --- ghpc.go | 2 +- pkg/config/config.go | 2 +- pkg/modulewriter/tfwriter.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ghpc.go b/ghpc.go index 029ccf3aa0..b4443c2642 100644 --- a/ghpc.go +++ b/ghpc.go @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - https://www.apache.org/licenses/LICENSE-2.0 + https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/pkg/config/config.go b/pkg/config/config.go index e5d2091feb..af7a68e1b4 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -524,7 +524,7 @@ func ConvertMapToCty(iMap map[string]interface{}) (map[string]cty.Value, error) // corresponding entry in the origin. All other cty.Values are unmodified. // ERROR: if (somehow) the cty.String cannot be converted to a Go string // ERROR: rely on HCL TraverseAbs to bubble up "diagnostics" when the global -// variable being resolved does not exist in b.Vars +// variable being resolved does not exist in b.Vars func ResolveVariables( ctyMap map[string]cty.Value, origin map[string]cty.Value, diff --git a/pkg/modulewriter/tfwriter.go b/pkg/modulewriter/tfwriter.go index f884f6c053..29fc5d5032 100644 --- a/pkg/modulewriter/tfwriter.go +++ b/pkg/modulewriter/tfwriter.go @@ -371,7 +371,7 @@ func printTerraformInstructions(grpPath string) { // group in the provided deployment directory // depGroup: The deployment group that is being written // globalVars: The top-level variables, needed for writing terraform.tfvars and -// variables.tf +// variables.tf // groupDir: The path to the directory the resource group will be created in func (w TFWriter) writeDeploymentGroup( depGroup config.DeploymentGroup,