Skip to content

Commit 646ae4e

Browse files
authored
Fixes deployment.py to use compartment_id from env variables.
1 parent 847cad3 commit 646ae4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/aqua/modeldeployment/deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def create(
179179
available_shapes = [
180180
shape.name.lower()
181181
for shape in self.list_shapes(
182-
compartment_id=create_deployment_details.compartment_id
182+
compartment_id=compartment_id
183183
)
184184
]
185185

0 commit comments

Comments
 (0)