Skip to content

Commit 54682c9

Browse files
author
Aaron Schlesinger
committed
fix(pkg/sshd/server.go): remove errant log lines
1 parent 65f7f76 commit 54682c9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pkg/sshd/server.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ func (s *server) answer(channel ssh.Channel, requests <-chan *ssh.Request, sshCo
232232
}
233233

234234
repoName := parts[1]
235-
fmt.Printf("Server locking %s for delete\n", repoName)
236235
s.cleanerRef.Lock()
237236
if err := s.pushLock.Lock(repoName, time.Duration(0)); err != nil {
238237
log.Errf(s.c, multiplePush)
@@ -260,7 +259,6 @@ func (s *server) answer(channel ssh.Channel, requests <-chan *ssh.Request, sshCo
260259
// Probably the best solution is to change the lock into a lease so that even on unlock failures, RepositoryLock will eventually yield
261260
}
262261
s.cleanerRef.Unlock()
263-
fmt.Printf("Server unlocked %s for delete\n", repoName)
264262
var xs uint32
265263
if err != nil {
266264
log.Errf(s.c, "Failed git receive: %v", err)

0 commit comments

Comments
 (0)