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 5e31447
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

Check failure on line 34 in kube-core/src/k8s.rs

View workflow job for this annotation

GitHub Actions / msrv

macro expansion ends with an incomplete expression: expected `;`
}

0 comments on commit 5e31447

Please sign in to comment.