sftp: remove stray debug
This commit is contained in:
parent
33c2873ae9
commit
e4835f535d
1 changed files with 2 additions and 6 deletions
|
@ -1,10 +1,6 @@
|
||||||
package sftp
|
package sftp
|
||||||
|
|
||||||
import (
|
import "sync"
|
||||||
"sync"
|
|
||||||
|
|
||||||
"github.com/ncw/rclone/fs"
|
|
||||||
)
|
|
||||||
|
|
||||||
// stringLock locks for string IDs passed in
|
// stringLock locks for string IDs passed in
|
||||||
type stringLock struct {
|
type stringLock struct {
|
||||||
|
@ -29,7 +25,7 @@ func (l *stringLock) Lock(ID string) {
|
||||||
}
|
}
|
||||||
// Wait for the channel to be closed
|
// Wait for the channel to be closed
|
||||||
l.mu.Unlock()
|
l.mu.Unlock()
|
||||||
fs.Logf(nil, "Waiting for stringLock on %q", ID)
|
// fs.Logf(nil, "Waiting for stringLock on %q", ID)
|
||||||
<-ch
|
<-ch
|
||||||
l.mu.Lock()
|
l.mu.Lock()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue