grafyaml/tests/schema/fixtures/dashboard-0007.yaml
Paul Belanger f83e3e45d8 Fix scopping error with panel validation
This fixes an issue where we were lumping each panel into all rows,
regardless of the yaml syntax provided.

Also add unit test for code coverage.

Change-Id: Ibc1e086d777692889f9c1dc26741e247bf90a985
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-09-21 10:55:16 -04:00

17 lines
364 B
YAML

dashboard:
title: New dashboard
rows:
- title: foo
height: 250px
panels:
- title: Starred Dashboards
type: dashlist
mode: starred
- title: bar
height: 250px
panels:
- title: no title (click here)
type: text
mode: markdown
content: Some example text is required.