Dashboards: set max length of message to 500 (#99229)

This commit is contained in:
Stephanie Hingtgen
2025-01-21 08:50:24 -06:00
committed by GitHub
parent 865e911e10
commit 2fe510eb6f
6 changed files with 52 additions and 0 deletions
+4
View File
@@ -70,6 +70,10 @@ var (
Reason: "uid too long, max 40 characters",
StatusCode: 400,
}
ErrDashboardMessageTooLong = DashboardErr{
Reason: "message too long, max 500 characters",
StatusCode: 400,
}
ErrDashboardCannotSaveProvisionedDashboard = DashboardErr{
Reason: "Cannot save provisioned dashboard",
StatusCode: 400,