Skip to content

Commit f6026b5

Browse files
committed
updated edit samples example
1 parent 1e593be commit f6026b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

generic-orchestration-samples/setup_edit_app_sample/edit_apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def edit_target_app_in_sandbox(app_name, new_app_name, api, sb_id, target_deploy
4040
new_deployment_attrs_map = {}
4141
for curr_attr in default_deployment.DeploymentService.Attributes:
4242
for update_attr_name, update_attr_value in target_deployment_attrs:
43-
if curr_attr.Name.lower().endswith(update_attr_name):
43+
if curr_attr.Name.lower().endswith(update_attr_name.lower()):
4444
new_deployment_attrs_map[curr_attr.Name] = update_attr_value
4545
break
4646

packaging-api-samples/packaging_api_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Load the package and prepare for edit
1717
p.load(package_path)
18-
18+
TopologyApp()
1919

2020
# Edit the package: f.e add new family
2121
# p.add_topology(topology_name="temp_blueprint", is_public="True", image_file_path="", default_duration="15",

0 commit comments

Comments
 (0)