Skip to content

Commit 5966baf

Browse files
refactor
1 parent 6063645 commit 5966baf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

jail/linux.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ func NewLinuxJail(config Config) (*LinuxJail, error) {
4848
// installs iptables rules on the host. At this stage, the target PID and its netns
4949
// are not yet known.
5050
func (l *LinuxJail) ConfigureBeforeCommandExecution() error {
51-
l.logger.Debug("Setup called")
52-
5351
l.commandEnv = getEnvs(l.configDir, l.caCertPath)
5452

5553
if err := l.configureHostNetworkBeforeCmdExec(); err != nil {
@@ -101,8 +99,6 @@ func (l *LinuxJail) ConfigureAfterCommandExecution(pidInt int) error {
10199

102100
// Close removes the network namespace and iptables rules
103101
func (l *LinuxJail) Close() error {
104-
l.logger.Debug("Close called")
105-
106102
// Clean up iptables rules
107103
err := l.cleanupIptables()
108104
if err != nil {

0 commit comments

Comments
 (0)