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
If you pull dashboards from an instance, move the dashboard to a new folder, then pull the dashboards again, the dashboard should be moved to the new local folder.
$ grr pull "grafana/resources/Main Org"
$ ls grafana/**/dashboard-64nrElFmk.yaml
'grafana/resources/Main Org/dashboards/general/dashboard-64nrElFmk.yaml'# (Move dashboard in Grafana)
$ grr pull "grafana/resources/Main Org"
$ ls grafana/**/dashboard-64nrElFmk.yaml
'grafana/resources/Main Org/dashboards/cecrsfx5y6q68e/dashboard-64nrElFmk.yaml'
Actual Behavior
Instead, due to the fact that grizzly doesn't delete dashboards, both dashboard files remain.
$ grr pull "grafana/resources/Main Org"
$ ls grafana/**/dashboard-64nrElFmk.yaml
'grafana/resources/Main Org/dashboards/general/dashboard-64nrElFmk.yaml'# (Move dashboard in Grafana)
$ grr pull "grafana/resources/Main Org"
$ ls grafana/**/dashboard-64nrElFmk.yaml
'grafana/resources/Main Org/dashboards/cecrsfx5y6q68e/dashboard-64nrElFmk.yaml''grafana/resources/Main Org/dashboards/general/dashboard-64nrElFmk.yaml'
Grizzly Version
0.7.1
Expected Behavior
If you pull dashboards from an instance, move the dashboard to a new folder, then pull the dashboards again, the dashboard should be moved to the new local folder.
Actual Behavior
Instead, due to the fact that grizzly doesn't delete dashboards, both dashboard files remain.
This may be related to #557, #580
To fix this, when reconciling files, you should load an index like
and use that to prevent duplicate files.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: