Skip to content

Commit 9db0938

Browse files
Juanadelacuestaolljanat
authored andcommitted
fix: update the error message for invalid variables (#26235)
1 parent f5ddb52 commit 9db0938

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/26235.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
ui: Fixed the error message presented for invalid Variables definitions
3+
```

ui/app/adapters/variable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default class VariableAdapter extends ApplicationAdapter {
146146
return new InvalidError([
147147
{
148148
detail:
149-
'Invalid name. Name must contain only alphanumeric or "-", "_", "~", or "/" characters, and be fewer than 128 characters in length.',
149+
'Invalid definition. Name must contain only alphanumeric or "-", "_", "~", or "/" characters, and be fewer than 128 characters in length and value should be be under 64KiB',
150150
status: 400,
151151
},
152152
]);

0 commit comments

Comments
 (0)