remove unintended explicit type declaration in code unrelated to this PR

pull/968/head
martinsoees 4 months ago
parent 0b0d4c7e97
commit 787d08b031

@ -537,7 +537,7 @@ impl<'a> EbpfLoader<'a> {
PinningType::ByName => { PinningType::ByName => {
// pin maps in /sys/fs/bpf by default to align with libbpf // pin maps in /sys/fs/bpf by default to align with libbpf
// behavior https://github.com/libbpf/libbpf/blob/v1.2.2/src/libbpf.c#L2161. // behavior https://github.com/libbpf/libbpf/blob/v1.2.2/src/libbpf.c#L2161.
let path: &Path = map_pin_path let path = map_pin_path
.as_deref() .as_deref()
.unwrap_or_else(|| Path::new("/sys/fs/bpf")); .unwrap_or_else(|| Path::new("/sys/fs/bpf"));

Loading…
Cancel
Save