Skip to content

Commit d62f9a2

Browse files
authored
Merge pull request #441 from monami-ya/pr-fix-typo
fix(sshd): Typo in the timeout message.
2 parents f010a60 + 4a4044e commit d62f9a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/sshd/lock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func wrapInLock(lck RepositoryLock, repoName string, fn func() error) error {
4242
select {
4343
case <-timer.C:
4444
defer close(doneCh)
45-
return fmt.Errorf("%s lock exceeded timout", repoName)
45+
return fmt.Errorf("%s lock exceeded timeout", repoName)
4646
case err := <-fnCh:
4747
return err
4848
}

0 commit comments

Comments
 (0)