Skip to content

Commit 6c9c9ce

Browse files
sss04mhamilton723
andauthored
Add correct workspace ID for spark jobs (#2358)
Co-authored-by: Mark Hamilton <[email protected]>
1 parent a4dec08 commit 6c9c9ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/com/microsoft/azure/synapse/ml/fabric/FabricClient.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ object FabricClient extends RESTUtils {
6969
}
7070

7171
private def getWorkspaceID: Option[String] = {
72-
FabricContext.get("trident.artifact.workspace.id");
72+
FabricContext.get("trident.artifact.workspace.id").orElse(FabricContext.get("trident.workspace.id"));
7373
}
7474

7575
private def getArtifactID: Option[String] = {

0 commit comments

Comments
 (0)