You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the examples/ folder, modify grr.jsonnet as shown below, and run grr apply grr.jsonnet.
local dashboard = import 'dashboard-simple.libsonnet';
local grr = import 'grizzly/grizzly.libsonnet';
{
dashboards: [
grr.dashboard.new('prod-overview', dashboard),
],
}
Suggested solution
It would be nice if the general folder is used as a default when metadata.folder is undefined.
If, however, a folder should be required, I would expect an error saying so, not a stack trace.
Personally, I strongly prefer making general the default, rather than metadata.folder beeing a required field. 😄
The text was updated successfully, but these errors were encountered:
tenstad
changed the title
Panic when dashboard folder is not specified
Panic when dashboard folder is undefined
Oct 19, 2021
Error
How to reproduce
In the
examples/
folder, modifygrr.jsonnet
as shown below, and rungrr apply grr.jsonnet
.Suggested solution
It would be nice if the
general
folder is used as a default whenmetadata.folder
is undefined.If, however, a folder should be required, I would expect an error saying so, not a stack trace.
Personally, I strongly prefer making
general
the default, rather thanmetadata.folder
beeing a required field. 😄The text was updated successfully, but these errors were encountered: