@@ -58,7 +58,7 @@ pub fn load_ingress(
5858 {
5959 Ok ( v) => v,
6060 Err ( e) => {
61- error ! ( "Failed to load the ingress eBPF bytecode. {}" , e ) ;
61+ error ! ( "Failed to load the ingress eBPF bytecode. {e}" ) ;
6262 Notification :: send (
6363 "Failed to load the ingress eBPF bytecode" ,
6464 NotificationLevel :: Error ,
@@ -93,10 +93,7 @@ pub fn load_ingress(
9393 bpf. program_mut ( "oryx" ) . unwrap ( ) . try_into ( ) . unwrap ( ) ;
9494
9595 if let Err ( e) = program. load ( ) {
96- error ! (
97- "Failed to load the ingress eBPF program to the kernel. {}" ,
98- e
99- ) ;
96+ error ! ( "Failed to load the ingress eBPF program to the kernel. {e}" , ) ;
10097 Notification :: send (
10198 "Failed to load the ingress eBPF program to the kernel" ,
10299 NotificationLevel :: Error ,
@@ -107,10 +104,7 @@ pub fn load_ingress(
107104 } ;
108105
109106 if let Err ( e) = program. attach ( & iface, TcAttachType :: Ingress ) {
110- error ! (
111- "Failed to attach the ingress eBPF program to the interface. {}" ,
112- e
113- ) ;
107+ error ! ( "Failed to attach the ingress eBPF program to the interface. {e}" , ) ;
114108 Notification :: send (
115109 "Failed to attach the ingress eBPF program to the interface" ,
116110 NotificationLevel :: Error ,
0 commit comments