Skip to content

Commit

Permalink
format: deal with clippy recommendations
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Wekesa <[email protected]>
  • Loading branch information
Paul-weqe committed Sep 12, 2024
1 parent 919094f commit 754a2a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions holo-interface/src/northbound/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,9 @@ fn load_callbacks() -> Callbacks<Master> {
let event_queue = args.event_queue;
event_queue.insert(Event::VrrpStart(ifname));
})
.create_prepare(|master, args| {
.create_prepare(|master, args| {
let ifname = args.dnode.get_string_relative("./name").unwrap();
master.interfaces.add(ifname.clone());

let event_queue = args.event_queue;
event_queue.insert(Event::VrrpStart(ifname));

Expand Down

0 comments on commit 754a2a3

Please sign in to comment.