Skip to content

Commit

Permalink
fix compilation by replacing deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Oct 22, 2024
1 parent 1b745f5 commit 2202a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/csi-grpc/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ fn main() {
let out_dir = PathBuf::from(std::env::var("OUT_DIR").expect("OUT_DIR is required"));
tonic_build::configure()
.file_descriptor_set_path(out_dir.join("file_descriptor_set.bin"))
.compile(&["csi.proto"], &["vendor/csi"])
.compile_protos(&["csi.proto"], &["vendor/csi"])
.unwrap();
}

0 comments on commit 2202a4e

Please sign in to comment.