1
0
mirror of https://github.com/rancher/types.git synced 2025-07-13 05:14:01 +00:00

Fix norman type in UpdateMultiClusterAppTargetsInput answers

Problem:
The answers field is marked as reference. As a result, The generated field gets a wrong type(304eef54e2/client/management/v3/zz_generated_update_multi_cluster_app_targets_input.go (L10))

Solution:
Remove norman type of answers field
This commit is contained in:
gitlawr 2019-02-17 22:32:44 +08:00 committed by Alena Prokharchyk
parent d0b7740d20
commit d499bc5d50

View File

@ -85,5 +85,5 @@ type MultiClusterAppRollbackInput struct {
type UpdateMultiClusterAppTargetsInput struct {
Projects []string `json:"projects" norman:"type=array[reference[project]],required"`
Answers []Answer `json:"answers" norman:"type=array[reference[answer]]"`
Answers []Answer `json:"answers"`
}