feat: kubesphere 4.0 (#6115)
* feat: kubesphere 4.0 Signed-off-by: ci-bot <ci-bot@kubesphere.io> * feat: kubesphere 4.0 Signed-off-by: ci-bot <ci-bot@kubesphere.io> --------- Signed-off-by: ci-bot <ci-bot@kubesphere.io> Co-authored-by: ks-ci-bot <ks-ci-bot@example.com> Co-authored-by: joyceliu <joyceliu@yunify.com>
This commit is contained in:
committed by
GitHub
parent
b5015ec7b9
commit
447a51f08b
2
vendor/k8s.io/apiserver/pkg/util/openapi/enablement.go
generated
vendored
2
vendor/k8s.io/apiserver/pkg/util/openapi/enablement.go
generated
vendored
@@ -68,7 +68,7 @@ func pruneEnums(schema *spec.Schema) *spec.Schema {
|
||||
// note that the new lines before the header should be removed too,
|
||||
// thus the slice range.
|
||||
clone()
|
||||
schema.Description = schema.Description[:headerIndex]
|
||||
schema.Description = strings.TrimSpace(schema.Description[:headerIndex])
|
||||
}
|
||||
if len(schema.Enum) != 0 {
|
||||
// remove the enum field
|
||||
|
||||
Reference in New Issue
Block a user