Filter to just BDC for create new controller action (#11291)

This commit is contained in:
Charles Gagnon
2020-07-10 10:15:34 -07:00
committed by GitHub
parent 826a0cf9ec
commit 1ce24fae05

View File

@@ -48,7 +48,7 @@ function registerCommands(context: vscode.ExtensionContext, treeDataProvider: Co
});
vscode.commands.registerCommand(commands.CreateControllerCommand, () => {
runThrottledAction(commands.CreateControllerCommand, () => vscode.commands.executeCommand('azdata.resource.deploy'));
runThrottledAction(commands.CreateControllerCommand, () => vscode.commands.executeCommand('azdata.resource.deploy', 'sql-bdc', ['sql-bdc']));
});
vscode.commands.registerCommand(commands.RemoveControllerCommand, async (node: TreeNode) => {