Skip to content
Snippets Groups Projects
Verified Commit d23c2866 authored by Martin Weise's avatar Martin Weise
Browse files

Updated the init script

parent cc07e16a
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -57,7 +57,6 @@ def upsert_dashboard(database: Database) -> None: ...@@ -57,7 +57,6 @@ def upsert_dashboard(database: Database) -> None:
if db is None: if db is None:
db = dashboard_client().create(database.internal_name, database.dashboard_uid) db = dashboard_client().create(database.internal_name, database.dashboard_uid)
rest_client().update_database_dashboard(database.id, db['uid']) rest_client().update_database_dashboard(database.id, db['uid'])
return
dashboard_client().update(database) dashboard_client().update(database)
......
...@@ -6,12 +6,12 @@ datasources: ...@@ -6,12 +6,12 @@ datasources:
type: yesoreyeram-infinity-datasource type: yesoreyeram-infinity-datasource
basicAuth: true basicAuth: true
basicAuthUser: user basicAuthUser: user
url: http://localhost url: $BASE_URL
jsonData: jsonData:
auth_method: 'basicAuth' auth_method: 'basicAuth'
httpHeaderName1: Accept httpHeaderName1: Accept
allowedHosts: allowedHosts:
- 'http://localhost' - '$BASE_URL'
secureJsonData: secureJsonData:
basicAuthPassword: user basicAuthPassword: user
httpHeaderValue1: application/json httpHeaderValue1: application/json
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment