10000 fix up the error message for static params for now · coder/coder@72f2234 · GitHub
[go: up one dir, main page]

Skip to content

Commit 72f2234

Browse files
committed
fix up the error message for static params for now
1 parent 13215d6 commit 72f2234

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

coderd/parameters.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,9 @@ func (api *API) handleStaticParameters(rw http.ResponseWriter, r *http.Request,
257257
Parameters: params,
258258
}, hcl.Diagnostics{
259259
{
260-
Severity: hcl.DiagError,
261-
Summary: "This template version is missing required metadata to support dynamic parameters. Go back to the classic creation flow.",
260+
// Only a warning because the form does still work.
261+
Severity: hcl.DiagWarning,
262+
Summary: "This template version is missing required metadata to support dynamic parameters.",
262263
Detail: "To restore full functionality, please re-import the terraform as a new template version.",
263264
},
264265
}

0 commit comments

Comments
 (0)
0