Skip to content

Commit e97f768

Browse files
Stringyclaude
andcommitted
Fix clang-format lint in Utility.cpp
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent af76d58 commit e97f768

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

collector/lib/Utility.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,13 @@ std::string GetContainerID(sinsp_threadinfo& tinfo) {
6767
}
6868

6969
std::string GetContainerID(sinsp_evt* event) {
70-
if (!event) return {};
70+
if (!event) {
71+
return {};
72+
}
7173
sinsp_threadinfo* tinfo = event->get_thread_info();
72-
if (!tinfo) return {};
74+
if (!tinfo) {
75+
return {};
76+
}
7377
return GetContainerID(*tinfo);
7478
}
7579

0 commit comments

Comments
 (0)