Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(k8smeta): remove a wrong log #384

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions plugins/k8smeta/src/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -953,12 +953,12 @@ bool my_plugin::extract(const falcosecurity::extract_fields_input& in)
return extract_labels_from_meta(pod_layout.meta, req);
case K8S_POD_IP:
{
// The pod ip is not always there, for example during pod
// initialization we could receive an initial pod without the ip and
// then in a second moment, we will receive an update on that pod.
if(!pod_layout.status.contains(
nlohmann::json::json_pointer(POD_IP_PATH)))
{
SPDLOG_ERROR("The pod status doesn't contain the '{}' field. "
"Resource status:\n{}\n",
POD_IP_PATH, pod_layout.status.dump());
return false;
}
std::string pod_ip;
Expand Down
Loading