Skip to content

Commit a81703d

Browse files
Support 'true' response for enableWorkspaceFilesystem workspace conf (#183)
We were getting unexpected "true" response in enableWorkspaceFilesystem workspace conf. This lead to filtering clusters wrongly. This pr fixes this by adding "true" state and NOT filtering when in doubt.
1 parent a28fc86 commit a81703d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/databricks-sdk-js/src/services/WorkspaceConf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface WorkspaceConfProps {
2626
* When Files in Repos is disabled, arbitrary files will not be included
2727
* in Repo operations and cannot be accessed from clusters.
2828
*/
29-
enableWorkspaceFilesystem: "dbr8.4+" | "dbr11.0+" | "false";
29+
enableWorkspaceFilesystem: "dbr8.4+" | "dbr11.0+" | "false" | "true";
3030
}
3131

3232
/**

packages/databricks-vscode/src/configuration/DatabricksWorkspace.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ export class DatabricksWorkspace {
5454

5555
case "false":
5656
return false;
57+
58+
case "true":
59+
return true;
60+
61+
default:
62+
return true;
5763
}
5864
}
5965

0 commit comments

Comments
 (0)