Skip to content

Commit

Permalink
fix: schema environment error message (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrwiersma authored Feb 5, 2025
1 parent 7e59635 commit b889328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec/meta/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func validateEnvironment(value any, path cty.Path) (diags diag.Diagnostics) {
if len(v) > maxEnvironmentLength {
diags = append(diags, diag.Diagnostic{
Severity: diag.Error,
Summary: fmt.Sprintf("%q must be no more than %d characters", v, maxNameLength),
Summary: fmt.Sprintf("%q must be no more than %d characters", v, maxEnvironmentLength),
AttributePath: path,
})
}
Expand Down

0 comments on commit b889328

Please sign in to comment.