mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-03 17:58:43 +00:00
fix: match error message formatting and lockfile version for go linter/test compatibility
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
# Manual edits may be lost in future updates.
|
||||
|
||||
provider "registry.terraform.io/hashicorp/null" {
|
||||
version = "3.2.3"
|
||||
constraints = "3.2.3"
|
||||
version = "3.2.4"
|
||||
constraints = "3.2.4"
|
||||
hashes = [
|
||||
"h1:+AnORRgFbRO6qqcfaQyeX80W0eX3VmjadjnUFUJTiXo=",
|
||||
"h1:I0Um8UkrMUb81Fxq/dxbr3HLP2cecTH2WMJiwKSrwQY=",
|
||||
|
||||
@@ -211,12 +211,12 @@ func (s Step) Validate() error {
|
||||
case []interface{}:
|
||||
for _, e := range t {
|
||||
if _, ok := e.(string); !ok {
|
||||
return fmt.Errorf("%q step %q option must contain only strings, found %v",
|
||||
return fmt.Errorf("%q step %q option must contain only strings, found %v\n",
|
||||
stepName, ShellArgsArgKey, e)
|
||||
}
|
||||
}
|
||||
default:
|
||||
return fmt.Errorf("%q step %q option must be a string or a list of strings, found %v",
|
||||
return fmt.Errorf("%q step %q option must be a string or a list of strings, found %v\n",
|
||||
stepName, ShellArgsArgKey, t)
|
||||
}
|
||||
delete(argMap, ShellArgsArgKey)
|
||||
|
||||
Reference in New Issue
Block a user