Save username/password for BDC HDFS connections (#12667)

* Save username/password for BDC HDFS connections

* comment
This commit is contained in:
Charles Gagnon
2020-09-30 08:40:20 -07:00
committed by GitHub
parent 82648fab3e
commit b3578d058f
3 changed files with 18 additions and 9 deletions

View File

@@ -103,7 +103,7 @@ export class OpenSparkJobSubmissionDialogCommand extends Command {
let sqlConnection = connectionMap.get(selectedHost);
if (!sqlConnection) { throw new Error(errorMsg); }
let sqlClusterConnection = await SqlClusterLookUp.getSqlClusterConnectionParams(sqlConnection);
let sqlClusterConnection = await SqlClusterLookUp.getSqlClusterConnectionParams(sqlConnection, this.appContext);
if (!sqlClusterConnection) {
throw new Error(localize('errorNotSqlBigDataCluster', "The selected server does not belong to a SQL Server Big Data Cluster"));
}