Sqlstore: guard against getting a dashboard without specifying identi… (#22246)

* Sqlstore: guard against getting a dashboard without specifying identifier

* Sqlstore: linting
This commit is contained in:
Leonard Gram
2020-02-17 15:32:20 +01:00
committed by GitHub
parent 0c4dae321c
commit 10fbabfb2e
3 changed files with 14 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ var (
ErrDashboardUidToLong = errors.New("uid to long. max 40 characters")
ErrDashboardCannotSaveProvisionedDashboard = errors.New("Cannot save provisioned dashboard")
ErrDashboardCannotDeleteProvisionedDashboard = errors.New("provisioned dashboard cannot be deleted")
ErrDashboardIdentifierNotSet = errors.New("Unique identfier needed to be able to get a dashboard")
RootFolderName = "General"
)