From 0d61c59b58db8758e5023cf5e74d34c7cb9735cc Mon Sep 17 00:00:00 2001 From: delarea Date: Mon, 18 Sep 2023 14:05:19 +0300 Subject: [PATCH] remove unneeded field --- xray/commands/scan/dockerscan.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/xray/commands/scan/dockerscan.go b/xray/commands/scan/dockerscan.go index 24bc35195..ffea449a3 100644 --- a/xray/commands/scan/dockerscan.go +++ b/xray/commands/scan/dockerscan.go @@ -31,11 +31,10 @@ const ( type DockerScanCommand struct { ScanCommand - imageTag string - targetRepoPath string - dockerFilePath string - scanner *bufio.Scanner - hashToCommandMap map[string]services.DockerfileCommandDetails + imageTag string + targetRepoPath string + dockerFilePath string + scanner *bufio.Scanner } func NewDockerScanCommand() *DockerScanCommand {