Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinache committed Oct 25, 2023
1 parent 0400e07 commit d2d7f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/vmware_portgroup_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def normalize_pg_info(portgroup_obj, policy_info):
else:
pg_info_dict['failover_active'] = spec.policy.nicTeaming.nicOrder.activeNic
pg_info_dict['failover_standby'] = spec.policy.nicTeaming.nicOrder.standbyNic
if spec.policy.nicTeaming.failureCriteria is None:
if spec.policy.nicTeaming.failureCriteria is None or spec.policy.nicTeaming.failureCriteria.checkBeacon is None:
pg_info_dict['failure_detection'] = "No override"
else:
if spec.policy.nicTeaming.failureCriteria.checkBeacon:
Expand Down

0 comments on commit d2d7f56

Please sign in to comment.