Skip to content

Commit

Permalink
fix(variant): enhance VariantCommandsExtractor for Renewable Cluste…
Browse files Browse the repository at this point in the history
…rs and Short-Term Storage (#1688)
  • Loading branch information
laurent-laporte-pro authored Aug 2, 2023
1 parent b00e755 commit bb08750
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def diff(
elif command_obj.command_name in [
CommandName.REMOVE_LINK,
CommandName.REMOVE_THERMAL_CLUSTER,
CommandName.REMOVE_RENEWABLES_CLUSTER,
CommandName.REMOVE_ST_STORAGE,
]:
command_list = first_commands
priority = 1
Expand All @@ -192,6 +194,8 @@ def diff(
command_list = last_commands
priority = 3
elif command_obj.command_name in [
CommandName.CREATE_ST_STORAGE,
CommandName.CREATE_RENEWABLES_CLUSTER,
CommandName.CREATE_THERMAL_CLUSTER,
CommandName.CREATE_LINK,
]:
Expand Down

0 comments on commit bb08750

Please sign in to comment.