Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/aaz_dev/command/controller/workspace_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ def list_commands_by_subresource(self, resource_id, version, subresource):

def _build_command_tree_leaf_from_aaz_ref(self, parent, name, aaz_ref):
cmd_names = [*parent.names, name]
if (ref_v_name := aaz_ref.get(' '.join(cmd_names), None)) \
if aaz_ref and (ref_v_name := aaz_ref.get(' '.join(cmd_names), None)) \
and (aaz_leaf := self.aaz_specs.find_command(*cmd_names)):
# reference from aaz specs
ref_v = None
Expand Down