Skip to content

Commit

Permalink
account for msrv
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Oct 19, 2024
1 parent 1a229ab commit 37d1f4e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion kube-core/src/k8s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ pub use {
api::core::v1 as corev1,
api::discovery::v1 as discoveryv1,
api::events::v1 as eventsv1,
api::flowcontrol::v1 as flowcontrolv1,
api::networking::v1 as networkingv1,
api::node::v1 as nodev1,
api::policy::v1 as policyv1,
Expand All @@ -29,3 +28,8 @@ pub use {
apiextensions_apiserver::pkg::apis::apiextensions::v1 as apiextensionsv1,
apimachinery::pkg::apis::meta::v1 as metav1,
};

// Names with version gates
k8s_openapi::k8s_if_ge_1_26! {
pub use api::flowcontrol::v1 as flowcontrolv1;
}

0 comments on commit 37d1f4e

Please sign in to comment.