Skip to content

Commit

Permalink
fix validating that we receive switch name in connectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
saklar13 committed Feb 9, 2023
1 parent f253805 commit 3beba57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloudshell/cp/vcenter/flows/connectivity_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def _validate_received_actions(
all_actions_with_switch = all(
a.connection_params.vlan_service_attrs.switch_name for a in actions
)
if not self._resource_conf.default_dv_switch or not all_actions_with_switch:
if not self._resource_conf.default_dv_switch and not all_actions_with_switch:
raise DvSwitchNameEmpty

def _set_vlan(
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.0
5.0.1

0 comments on commit 3beba57

Please sign in to comment.