kubeflow / common

Common APIs and libraries shared by other Kubeflow operator repositories.
Apache License 2.0
51 stars 73 forks source link

fix: Add uppercase support for GenGeneralName #146

Closed gaocegege closed 3 years ago

gaocegege commented 3 years ago

In GenGeneralName, we should use lower case.

In the past we do the conversion outside the function since the replicaType is a string. Now its type is replicaType, thus we should do it in the function.

/cc @terrytangyuan @MartinForReal

Signed-off-by: cegao cegao@tencent.com

google-oss-robot commented 3 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: terrytangyuan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubeflow/common/blob/master/OWNERS)~~ [terrytangyuan] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment