We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo check throws the following error
error[E0308]: mismatched types --> /home/msopena/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.2/src/finalizer.rs:141:31 | 141 | path: finalizer_path.clone(), | ^^^^^^^^^^^^^^^^^^^^^^ expected `Pointer`, found `String` error[E0308]: mismatched types --> /home/msopena/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.2/src/finalizer.rs:144:68 | 144 | PatchOperation::Remove(RemoveOperation { path: finalizer_path }), | ^^^^^^^^^^^^^^ expected `Pointer`, found `String` error[E0308]: mismatched types --> /home/msopena/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.2/src/finalizer.rs:159:31 | 159 | path: "/metadata/finalizers".to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pointer`, found `String` error[E0308]: mismatched types --> /home/msopena/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.2/src/finalizer.rs:163:31 | 163 | path: "/metadata/finalizers".to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pointer`, found `String` error[E0308]: mismatched types --> /home/msopena/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.2/src/finalizer.rs:173:31 | 173 | path: "/metadata/finalizers".to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pointer`, found `String` error[E0308]: mismatched types --> /home/msopena/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kube-runtime-0.87.2/src/finalizer.rs:177:31 | 177 | path: "/metadata/finalizers/-".to_string(), |
No response
Client Version: v1.22.13 Server Version: v1.22.13
kube = { version = "0.87.2", features = ["kube-client", "kube-runtime", "derive", "rustls-tls", "ws"] } k8s-openapi = { version = "0.20.0", features = ["v1_26"] }
kube-core, kube-client, kube-derive, kube-runtime
None
The text was updated successfully, but these errors were encountered:
Probably due to #1486 Try upgrading upgrading your jsonpatch dep.
Sorry, something went wrong.
unrelated, but a FYI:
kube = { version = "0.87.2", features = ["kube-client", "kube-runtime", "derive", "rustls-tls", "ws"] }
the feature names we expose in Cargo.toml are not the crate names, that line should be:
Cargo.toml
kube = { version = "0.87.2", features = ["client", "runtime", "derive", "rustls-tls", "ws"] }
as per https://kube.rs/features/ . the implicit crate features will probably go away at some point.
Going to assume this is resolved for you. LMK if not.
json-patch
No branches or pull requests
Current and expected behavior
cargo check throws the following error
Possible solution
No response
Additional context
No response
Environment
Client Version: v1.22.13
Server Version: v1.22.13
Configuration and features
Affected crates
kube-core, kube-client, kube-derive, kube-runtime
Would you like to work on fixing this bug?
None
The text was updated successfully, but these errors were encountered: