Skip to content

Commit

Permalink
Features/upload dashboards (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
iogbole committed Sep 8, 2020
1 parent bda3baf commit d29b2b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"overwrite_health_rules": false,
"are_passwords_encoded": false,
"upload_custom_dashboard": false,


"branding": [
{
"enabled": true,
Expand Down Expand Up @@ -30,7 +29,8 @@
"database_name": "",
"include_sim": false,
"configure_bt": false,
"bt_only": false
"bt_only": false,
"upload_custom_dashboard": false
}
],
"action_suppression": [
Expand Down
3 changes: 1 addition & 2 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -653,9 +653,8 @@ if [[ -z "${_arg_suppress_delete// }" ]]; then
fi

# upload custom dashboards

if ([[ $_arg_upload_custom_dashboard_explicitly_set = false ]] && [ -z "${CMA_UPLOAD_CUSTOM_DASHBOARD// }" ]); then
_arg_upload_custom_dashboard=$(jq -r '.upload_custom_dashboard' <${conf_file})
_arg_upload_custom_dashboard=$(jq -r '.configuration[].upload_custom_dashboard' <${conf_file})
fi

### 2 VALIDATE ###
Expand Down

0 comments on commit d29b2b8

Please sign in to comment.