Skip to content

Commit

Permalink
Fix bad merge build break (microsoft#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft authored Nov 5, 2020
1 parent c697ce2 commit 8de3d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tree/containers/ContainersTreeItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class ContainersTreeItem extends LocalRootTreeItemBase<DockerContainerInf
const rawResults = await ext.dockerClient.getContainers(context);

// NOTE: We *know* that ACI doesn't currently support showing files, but we'll give the benefit of the doubt to any other context type.
const contextType = (await ext.dockerContextManager.getCurrentContext())?.Type;
const contextType = (await ext.dockerContextManager.getCurrentContext())?.ContextType;
const showFiles = contextType && (contextType !== 'aci');

const results = rawResults.map(result => ({ showFiles, ...result }));
Expand Down

0 comments on commit 8de3d7a

Please sign in to comment.