diff --git a/pkg/rigfs/posixfsys.go b/pkg/rigfs/posixfsys.go index 7696c868..d3c61cba 100644 --- a/pkg/rigfs/posixfsys.go +++ b/pkg/rigfs/posixfsys.go @@ -14,7 +14,6 @@ import ( "github.com/alessio/shellescape" "github.com/k0sproject/rig/exec" - "github.com/k0sproject/rig/log" ) var ( @@ -163,8 +162,6 @@ func (f *PosixFile) Write(p []byte) (int, error) { return 0, fmt.Errorf("%w: file %s is not open for writing", fs.ErrClosed, f.path) } - log.Debugf("writing %d bytes to %s", len(p), f.path) - var written int remaining := p for written < len(p) {