mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Alter the build to generate for __internal correctly
This commit is contained in:
@@ -282,7 +282,7 @@ kube::util::group-version-to-pkg-path() {
|
||||
# moving the results to pkg/apis/api.
|
||||
case "${group_version}" in
|
||||
# both group and version are "", this occurs when we generate deep copies for internal objects of the legacy v1 API.
|
||||
/)
|
||||
__internal)
|
||||
echo "api"
|
||||
;;
|
||||
v1)
|
||||
@@ -292,7 +292,7 @@ kube::util::group-version-to-pkg-path() {
|
||||
echo "api/unversioned"
|
||||
;;
|
||||
*)
|
||||
echo "apis/${group_version}"
|
||||
echo "apis/${group_version%__internal}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
Reference in New Issue
Block a user