Merge "Remove unused comments in create zone"

This commit is contained in:
Jenkins 2016-01-11 17:42:36 +00:00 committed by Gerrit Code Review
commit 2a70914d51
1 changed files with 0 additions and 3 deletions

View File

@ -83,9 +83,6 @@ class ZonesController(rest.RestController):
zone = request.body_dict
# We need to check the zone type before validating the schema since if
# it's the type is SECONDARY we need to set the email to the mgmt email
if isinstance(zone, dict):
if 'type' not in zone:
zone['type'] = 'PRIMARY'