Make "dist" version of dashboard scuemata directly importable in CUE (#39251)
* Update embeds with new paths, remove deprefixing * Add dist dashboard scuemata, in CUE Also add tests that ensure all panel plugins with models.cue are imported by this file, so that we can't go out of sync. * Remove comment detritus * Check error return * Remove hardcoded path prefix from cli validator
This commit is contained in:
@@ -63,7 +63,7 @@ func (cmd Command) validateScuemata(c utils.CommandLine) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
fspaths.DistPluginCueFS, err = populate(paths.DistPluginCueFS, "public/app/plugins")
|
||||
fspaths.DistPluginCueFS, err = populate(paths.DistPluginCueFS, "")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user