Skip to content

Commit 4899bef

Browse files
authored
Apply suggestions from code review
1 parent fb35a81 commit 4899bef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

provisioner/terraform/tfextract/tfextract.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func WorkspaceTags(ctx context.Context, logger slog.Logger, module *tfconfig.Mod
9292
logger.Info(ctx, "workspace tag found", "key", key, "value", value)
9393

9494
if _, ok := workspaceTags[key]; ok {
95-
return nil, xerrors.Errorf(`workspace tag "%s" is defined multiple times`, key)
95+
return nil, xerrors.Errorf(`workspace tag %q is defined multiple times`, key)
9696
}
9797
workspaceTags[key] = value
9898
}
@@ -149,7 +149,7 @@ func LoadTerraformVariables(module *tfconfig.Module) ([]*proto.TemplateVariable,
149149
return templateVariables, nil
150150
}
151151

152-
// /convertTerraformVariable converts a Terraform variable to a template-wide variable, processed by Coder.
152+
// convertTerraformVariable converts a Terraform variable to a template-wide variable, processed by Coder.
153153
func convertTerraformVariable(variable *tfconfig.Variable) (*proto.TemplateVariable, error) {
154154
var defaultData string
155155
if variable.Default != nil {

0 commit comments

Comments
 (0)