From 808ce4366d0ed15a6a5af7e1825f2a4e8ded8fac Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Wed, 11 Dec 2019 16:31:44 -0800 Subject: [PATCH] Fix error deleting mount (#8637) --- .../src/bigDataCluster/controller/clusterControllerApi.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/big-data-cluster/src/bigDataCluster/controller/clusterControllerApi.ts b/extensions/big-data-cluster/src/bigDataCluster/controller/clusterControllerApi.ts index 046456542a..0bceb6efd0 100644 --- a/extensions/big-data-cluster/src/bigDataCluster/controller/clusterControllerApi.ts +++ b/extensions/big-data-cluster/src/bigDataCluster/controller/clusterControllerApi.ts @@ -275,9 +275,9 @@ export class ClusterController { mountPath); } - private async deleteMountImpl(mountPath: string): Promise { - let auth = await this._authPromise; - const api = new DefaultApiWrapper(this._username, this._password, this._url, auth); + private async deleteMountImpl(self: ClusterController, mountPath: string): Promise { + let auth = await self._authPromise; + const api = new DefaultApiWrapper(self._username, self._password, self._url, auth); const mountStatus = await api.deleteMount('', '', mountPath); return {