Skip to content

Commit 2e4a636

Browse files
committedSep 7, 2019
移除不必要的log Debugf
1 parent 5a0b715 commit 2e4a636

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎container/exec.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ func recordContainerInfo(info *ContainerInfo) error {
4444
return err
4545
}
4646
content := string(i)
47-
n, err := infoFile.WriteString(content)
47+
_, err = infoFile.WriteString(content)
4848
if err != nil {
4949
return err
5050
}
51-
log.Debugf("%d characters has been written to %s", n, path.Join(common.DefaultContainerInfoDir, name))
5251
return nil
5352
}

0 commit comments

Comments
 (0)
Please sign in to comment.