Skip to content

Commit 37747d4

Browse files
fix: minor fixes
1 parent 973ca20 commit 37747d4

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

jail/linux.go

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,7 @@ func (l *LinuxJail) Start() error {
4444
l.logger.Debug("Setup called")
4545

4646
e := getEnvs(l.configDir, l.caCertPath)
47-
//p := fmt.Sprintf("http://localhost:%d", l.httpProxyPort)
48-
l.commandEnv = mergeEnvs(e, map[string]string{
49-
//"HOME": l.homeDir,
50-
//"USER": l.username,
51-
//"LOGNAME": l.username,
52-
//"HTTP_PROXY": p,
53-
//"HTTPS_PROXY": p,
54-
//"http_proxy": p,
55-
//"https_proxy": p,
56-
})
47+
l.commandEnv = mergeEnvs(e, map[string]string{})
5748

5849
// Setup DNS configuration BEFORE creating namespace
5950
// This ensures the namespace-specific resolv.conf is available when namespace is created

0 commit comments

Comments
 (0)