WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit aa42487

Browse files
Merge pull request #148 from siddh34/feature/ebpf-core
[#140]: only print 0 events via info macro
2 parents 2debe49 + 9689a16 commit aa42487

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ tonic = "0.14.1"
2323
tonic-reflection = "0.14.1"
2424
prost-types = "0.14.1"
2525
prost = "0.14.1"
26-
cortexflow_agent_api = "0.1.1-beta.1"
26+
cortexflow_agent_api = "0.1.1-beta.2"
2727

2828
[[bin]]
2929
name = "cfcli"

core/api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cortexflow_agent_api"
3-
version = "0.1.1-beta.1"
3+
version = "0.1.1-beta.2"
44
edition = "2021"
55
description = "CortexFlow agent API"
66
authors = ["Lorenzo Tettamanti", "Pranav Verma", "Lorenzo Bradanini","Siddharth Sutar","Andrea Bozzo"]

core/api/src/api.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,6 @@ impl Default for AgentApi {
181181
}
182182
} else if events.read == 0 {
183183
info!("[Agent/API] 0 Events found");
184-
let mut evt = Vec::new();
185-
evt.push(ConnectionEvent {
186-
event_id: "0".to_string(),
187-
src_ip_port: "0:0".to_string(),
188-
dst_ip_port: "0:0".to_string(),
189-
});
190-
let _ = tx.send(Ok(evt)).await;
191184
}
192185
}
193186
Err(e) => {

0 commit comments

Comments
 (0)