Merge "NSXv3: Fix a router port name update issue"

This commit is contained in:
Jenkins 2016-11-24 10:23:32 +00:00 committed by Gerrit Code Review
commit 6bd068859e
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ class LogicalPort(AbstractRESTResource):
'resource_type': nsx_constants.CIF_RESOURCE_TYPE}
attachment['context'] = context
return attachment
elif attachment_type is None or vif_uuid is None:
elif attachment_type is None and vif_uuid is None:
return None # reset attachment
else:
return False # no attachment change