diff --git a/config/config.go b/config/config.go index 953176bf20..d9b7258214 100644 --- a/config/config.go +++ b/config/config.go @@ -54,7 +54,7 @@ type ResourceVariable struct { type UserVariable struct { Name string - key string + key string } func NewResourceVariable(key string) (*ResourceVariable, error) { diff --git a/config/import_tree.go b/config/import_tree.go index f26904da1e..c878116da9 100644 --- a/config/import_tree.go +++ b/config/import_tree.go @@ -1,8 +1,8 @@ package config import ( - "io" "fmt" + "io" "path/filepath" ) diff --git a/config/variable.go b/config/variable.go index 571648b327..cf7a9cbe27 100644 --- a/config/variable.go +++ b/config/variable.go @@ -91,7 +91,7 @@ func (w *variableDetectWalker) Primitive(v reflect.Value) error { type variableReplaceWalker struct { Values map[string]string - loc reflectwalk.Location + loc reflectwalk.Location m, mk reflect.Value }