Merge "NSXv3: Fix problem when reset lport attachment"

This commit is contained in:
Jenkins 2016-09-25 23:17:16 +00:00 committed by Gerrit Code Review
commit 9959d18f44

View File

@ -240,8 +240,8 @@ class LogicalPort(AbstractRESTResource):
})
body['switching_profile_ids'] = profiles
if attachment:
body['attachment'] = attachment
# Note that attachment could be None, meaning reset it.
body['attachment'] = attachment
return body