Skip to content

Commit 6e58c04

Browse files
committed
update
1 parent 66fd289 commit 6e58c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: core/ebpf/plugin/network_observer/Connection.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ void Connection::TryAttachSelfMeta(bool enable) {
324324
}
325325
if (!enable || !K8sMetadata::GetInstance().Enable()) {
326326
// set self metadata ...
327-
LOG_DEBUG(sLogger, ("not enable", ""));
328327
MarkSelfMetaAttached();
328+
return;
329329
} else if (IsConnStatsEventReceived()) {
330330
const auto& cid = GetContainerId();
331331
if (cid.empty()) {

0 commit comments

Comments
 (0)