Skip to content

Commit a624938

Browse files
committed
fix code
Signed-off-by: Ashima-Ashima1 <[email protected]>
1 parent 79329f5 commit a624938

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.secrets.baseline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "go.sum|^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2024-06-04T05:32:12Z",
6+
"generated_at": "2024-06-05T06:49:06Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"

controllers/logParser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func parseLogs(nodePodLogs string) map[string]string {
5353
if len(matches) == 2 {
5454
mapContent := matches[1]
5555

56-
getVolumeID := regexp.MustCompile(`VolumeId:\S+`).FindStringSubmatch(mapContent) //nolint:gosimple
56+
getVolumeID := regexp.MustCompile(`VolumeId:\S+`).FindStringSubmatch(mapContent)
5757
if len(getVolumeID) != 0 {
5858
volumeID := strings.Split(getVolumeID[0], ":")[1]
5959

0 commit comments

Comments
 (0)