Skip to content

Commit 1c3b387

Browse files
committed
switch back to old
1 parent cdb50b4 commit 1c3b387

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

fabric_cf/orchestrator/core/orchestrator_handler.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -513,14 +513,9 @@ def modify_slice(self, *, token: str, slice_id: str, slice_graph: str) -> List[d
513513
slice_object.add_reservations()
514514

515515
# Slice has sliver modifications - add/remove/update for slivers requiring AM updates
516-
graph_id = slice_obj.get_graph_id()
517516
modify_state = slice_object.has_sliver_updates_at_authority()
518-
if modify_state or slice_object.has_topology_diffs(topology_diff=topology_diff):
519-
FimHelper.delete_graph(graph_id=slice_obj.get_graph_id())
520-
graph_id = asm_graph.get_graph_id()
521-
else:
522-
if asm_graph:
523-
asm_graph.delete_graph()
517+
FimHelper.delete_graph(graph_id=slice_obj.get_graph_id())
518+
graph_id = asm_graph.get_graph_id()
524519

525520
slice_obj.graph_id = graph_id
526521
config_props = slice_obj.get_config_properties()

0 commit comments

Comments
 (0)