Skip to content

Commit b3293c2

Browse files
committed
ignore gosec
1 parent 7a119fd commit b3293c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

framework/docker.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ func RemoveTestContainers() error {
388388
func RemoveTestStack(name string) error {
389389
L.Info().Str("stack name", name).Msg("Cleaning up docker containers")
390390
// Bash command for removing Docker containers and networks with "framework=ctf" label
391+
//nolint:gosec //ignoring G204
391392
cmd := exec.Command("bash", "-c", fmt.Sprintf(`
392393
docker ps -a --filter "label=com.docker.compose.project" --format '{{.ID}} {{.Label "com.docker.compose.project"}}' \
393394
| awk '$2 ~ /^%s/ { print $2 }' | sort -u \

0 commit comments

Comments
 (0)