mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 13:17:42 +00:00
Fix recursive call to debug.Log
This commit is contained in:
parent
254188f38f
commit
25945718a1
@ -251,10 +251,6 @@ func (l Lock) String() string {
|
|||||||
l.Time.Format("2006-01-02 15:04:05"), time.Since(l.Time),
|
l.Time.Format("2006-01-02 15:04:05"), time.Since(l.Time),
|
||||||
l.lockID.Str())
|
l.lockID.Str())
|
||||||
|
|
||||||
if l.Stale() {
|
|
||||||
text += " (stale)"
|
|
||||||
}
|
|
||||||
|
|
||||||
return text
|
return text
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user