Skip to content

Commit

Permalink
Fix HDFS node for Integrated auth (#12906) (#12907)
Browse files Browse the repository at this point in the history
* Fix some HDFS issues

* Undo other changes
  • Loading branch information
Charles-Gagnon authored Oct 13, 2020
1 parent 05615c7 commit d296b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/mssql/src/sqlClusterLookUp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ async function createSqlClusterConnInfo(sqlConnInfo: azdata.IConnectionProfile |

async function getClusterController(controllerEndpoint: string, connInfo: ConnectionParam): Promise<bdc.IClusterController | undefined> {
const bdcApi = <bdc.IExtension>await vscode.extensions.getExtension(bdc.constants.extensionName).activate();
let authType: bdc.AuthType = connInfo.options[constants.authenticationTypePropName] === AuthType.Integrated ? 'integrated' : 'basic';
let authType: bdc.AuthType = connInfo.options[constants.authenticationTypePropName].toLowerCase() === AuthType.Integrated ? 'integrated' : 'basic';
const controller = bdcApi.getClusterController(
controllerEndpoint,
authType,
Expand Down

0 comments on commit d296b63

Please sign in to comment.