Fix bug which allowed creation of hosts with superordinate domains in pending delete state.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=154716883
This commit is contained in:
mountford 2017-05-01 08:08:14 -07:00 committed by Ben McIlwain
parent 386d2bc6be
commit 11e7374c0f
7 changed files with 82 additions and 0 deletions

View file

@ -1009,6 +1009,7 @@ are enqueued to update DNS accordingly.
* This resource has clientUpdateProhibited on it, and the update does not
clear that status.
* Resource status prohibits this operation.
* Superordinate domain for this hostname is in pending delete.
* Cannot remove all IP addresses from a subordinate host.
* Cannot rename an external host.
* 2306
@ -1094,6 +1095,8 @@ allows creating a host name, and if necessary enqueues tasks to update DNS.
* Resource with this id already exists.
* 2303
* Superordinate domain for this hostname does not exist.
* 2304
* Superordinate domain for this hostname is in pending delete.
* 2306
* Host names must be at least two levels below the public suffix.