Skip to content

Commit 639ccdf

Browse files
committed
Reword the error message
Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com>
1 parent c248b4c commit 639ccdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/validators/validators.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func ValidateServerJSON(serverJSON *apiv0.ServerJSON) error {
5858
return fmt.Errorf("$schema field is required")
5959
}
6060
if !strings.Contains(serverJSON.Schema, model.CurrentSchemaVersion) {
61-
return fmt.Errorf("schema version %s is not supported. Please use schema version %s or later", serverJSON.Schema, model.CurrentSchemaVersion)
61+
return fmt.Errorf("schema version %s is not supported. Please use schema version %s", serverJSON.Schema, model.CurrentSchemaVersion)
6262
}
6363

6464
// Validate server name exists and format

0 commit comments

Comments
 (0)