Skip to content

Commit 51bb3c0

Browse files
committed
Adjust wording
1 parent bbb3dd3 commit 51bb3c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/wsbuilder/wsbuilder.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ func (b *Builder) getParameters() (names, values []string, err error) {
485485
}
486486
err = b.verifyNoLegacyParameters()
487487
if err != nil {
488-
return nil, nil, BuildError{http.StatusBadRequest, "Used unsupported legacy parameters", err}
488+
return nil, nil, BuildError{http.StatusBadRequest, "Unable to build workspace with unsupported parameters", err}
489489
}
490490
resolver := codersdk.ParameterResolver{
491491
Rich: db2sdk.WorkspaceBuildParameters(lastBuildParameters),
@@ -584,7 +584,7 @@ func (b *Builder) verifyNoLegacyParameters() error {
584584
}
585585

586586
if len(parameterSchemas) > 0 {
587-
return xerrors.Errorf("Legacy parameters are not supported anymore. Contact your administrator for assistance.")
587+
return xerrors.Errorf("Legacy parameters in use on this version are not supported anymore. Contact your administrator for assistance.")
588588
}
589589
return nil
590590
}

0 commit comments

Comments
 (0)