From 11185f7fa3dd8d6b9e181738a4ee2564192d6924 Mon Sep 17 00:00:00 2001 From: Srujan Bharadwaj Date: Thu, 26 Dec 2024 12:39:15 +0530 Subject: [PATCH] remove todo comments in the code --- pkg/container/dockerclient.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/container/dockerclient.go b/pkg/container/dockerclient.go index 9c8a824..00239a5 100644 --- a/pkg/container/dockerclient.go +++ b/pkg/container/dockerclient.go @@ -66,9 +66,6 @@ func (d *dockerClient) GetContainers(ctx context.Context, opts *container.ListOp return containersList, nil } -// 1. Use volume mounts. Mount a specific file - the upload file. Then run the container with a custom command. -// TODO: Add Cgroups support -// TODO: Improve security: drop all the capabilities and use only those that are absolutely necessary. func (d *dockerClient) ExecuteCode(ctx context.Context, code *Code) (string, error) { codeFileName, inputFileName, err := createCodeAndInputFilesHost(code, d.logger) if err != nil {