Skip to content

Commit

Permalink
Check for idle deployment state and not running (#1064)
Browse files Browse the repository at this point in the history
## Changes
<!-- Summary of your changes that are easy to understand -->

## Tests
<!-- How is this tested? -->
  • Loading branch information
kartikgupta-db authored Feb 12, 2024
1 parent 927ea42 commit f2f0126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/databricks-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@
},
{
"command": "databricks.bundle.cancelRun",
"when": "view == dabsResourceExplorerView && viewItem =~ /^databricks.bundle.*.cancellable.*$/ && databricks.context.bundle.deploymentState == running",
"when": "view == dabsResourceExplorerView && viewItem =~ /^databricks.bundle.*.cancellable.*$/ && databricks.context.bundle.deploymentState == idle",
"group": "inline@0"
}
],
Expand Down

0 comments on commit f2f0126

Please sign in to comment.