Implements proposal #597
This commit is contained in:
committed by
GOESSEL Guillaume
parent
b96e09cd1c
commit
9cfb7e210a
@@ -52,9 +52,8 @@ class ZabbixAPIDatasource {
|
||||
this.disableReadOnlyUsersAck = jsonData.disableReadOnlyUsersAck;
|
||||
|
||||
// Direct DB Connection options
|
||||
let dbConnectionOptions = jsonData.dbConnection || {};
|
||||
this.enableDirectDBConnection = dbConnectionOptions.enable;
|
||||
this.sqlDatasourceId = dbConnectionOptions.datasourceId;
|
||||
this.enableDirectDBConnection = jsonData.dbConnectionEnable || false;
|
||||
this.sqlDatasourceId = jsonData.dbConnectionDatasourceId;
|
||||
|
||||
let zabbixOptions = {
|
||||
username: this.username,
|
||||
|
||||
Reference in New Issue
Block a user