Skip to content

Commit e5abbff

Browse files
now?
1 parent 63697fd commit e5abbff

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • src/job_handler_plugins/omnia_classic_azure_container_instances

src/job_handler_plugins/omnia_classic_azure_container_instances/ARM_deployer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from azure.mgmt.resource import ResourceManagementClient
2-
from azure.mgmt.resource.resources.models import Deployment
32

43

54
class Deployer:
@@ -18,6 +17,6 @@ def deploy(self, template: dict, deployment_name: str, parameters: dict):
1817
}
1918

2019
deployment_async_operation = self.client.deployments.begin_create_or_update(
21-
self.resource_group, deployment_name, Deployment(properties=deployment_properties)
20+
self.resource_group, deployment_name, {"properties": deployment_properties}
2221
)
2322
return deployment_async_operation.wait()

0 commit comments

Comments
 (0)