Changes to reset container workflow (#1155)

* reset changes

* undid config context changes

* renamed method
This commit is contained in:
Srinath Narayanan
2021-11-04 09:25:41 -07:00
committed by GitHub
parent e3d5ad2ce8
commit 5597a1e8b6
3 changed files with 34 additions and 36 deletions

View File

@@ -394,7 +394,7 @@ export default class Explorer {
useNotebook.getState().setConnectionInfo(connectionStatus);
try {
useNotebook.getState().setIsAllocating(true);
const connectionInfo = await this.phoenixClient.containerConnectionInfo(provisionData);
const connectionInfo = await this.phoenixClient.allocateContainer(provisionData);
await this.setNotebookInfo(connectionInfo, connectionStatus);
} catch (error) {
connectionStatus.status = ConnectionStatusType.Failed;