From 4b6a3df502af3d8f45035fc2f08f907573542181 Mon Sep 17 00:00:00 2001 From: Venkata Deviprasad Sura Date: Thu, 9 Feb 2023 20:15:31 -0500 Subject: [PATCH] merge new changes --- .../tools/apache/scope/probe/host/malware_scanner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepfence_agent/tools/apache/scope/probe/host/malware_scanner.go b/deepfence_agent/tools/apache/scope/probe/host/malware_scanner.go index 9f68360b40..a1df618c43 100644 --- a/deepfence_agent/tools/apache/scope/probe/host/malware_scanner.go +++ b/deepfence_agent/tools/apache/scope/probe/host/malware_scanner.go @@ -77,7 +77,7 @@ func StartMalwareScan(req ctl.StartMalwareScanRequest) error { Container: &pb.MalwareContainer{Id: req.NodeId}, }} case ctl.Image: - splits := strings.Split(req.NodeId, ";") + splits := strings.Split(req.BinArgs["node_id"], ";") if len(splits) != 2 { return errors.New("image id format is incorrect")