-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose Default and Validate functions on NovaSpecCore
The higher level meta operator will include the NovaSpecCore now in the OpenStackControlPlane CRD and therefore it needs to default and validate that struct in its webhooks, so the necessary functions are exposed. This patch manages to avoid duplicating the validation logic because the the NovaSpecCore is now directly embedded in the NovaSpec and therefore validations written for NovaSpecCore can be also called on NovaSpec too. Jira: OSPRH-4835
- Loading branch information
1 parent
b3fb3a0
commit bd65adc
Showing
1 changed file
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters