mirror of
https://github.com/grafana/grafana.git
synced 2025-01-13 09:32:12 -06:00
Chore: Sort generated jsonnet dashboards by full path (#58267)
This commit is contained in:
parent
dce8879145
commit
d80abd173b
@ -76,7 +76,7 @@ func (g *libjsonnetGen) generate() (string, error) {
|
||||
return "", err
|
||||
}
|
||||
|
||||
sort.Slice(g.dashboards, func(i, j int) bool {
|
||||
sort.SliceStable(g.dashboards, func(i, j int) bool {
|
||||
return g.dashboards[i].Name < g.dashboards[j].Name
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user