fix: handle empty provisioning folder gracefully in stub provisioning (#114273)
fix: provisioning folder empty case
This commit is contained in:
committed by
GitHub
parent
6f68b96097
commit
e2cbf8abf1
+24
@@ -0,0 +1,24 @@
|
||||
apiVersion: 1
|
||||
|
||||
providers:
|
||||
- name: 'editable-dashboard'
|
||||
orgId: 1
|
||||
folder: 'test-folder'
|
||||
type: file
|
||||
allowUiUpdates: true
|
||||
options:
|
||||
path: /tmp/editable-dashboards
|
||||
|
||||
- name: 'readonly-dashboard'
|
||||
orgId: 2
|
||||
folder: 'readonly-folder'
|
||||
type: file
|
||||
allowUiUpdates: false
|
||||
options:
|
||||
path: /tmp/readonly-dashboards
|
||||
|
||||
- name: 'default-dashboard'
|
||||
orgId: 1
|
||||
type: file
|
||||
options:
|
||||
path: /tmp/default-dashboards
|
||||
@@ -0,0 +1,10 @@
|
||||
apiVersion: 1
|
||||
|
||||
providers:
|
||||
- name: 'test-dashboard'
|
||||
orgId: 1
|
||||
folder: ''
|
||||
type: file
|
||||
allowUiUpdates: true
|
||||
options:
|
||||
path: /tmp/test-dashboards
|
||||
Reference in New Issue
Block a user