mirror of
https://github.com/qwc/backive.git
synced 2025-01-18 09:37:20 +01:00
Fix linter findings
This commit is contained in:
parent
081c6cf95c
commit
d8af889365
@ -71,7 +71,6 @@ func LastRun(backup string) (time.Time, error) {
|
||||
if ok {
|
||||
var t = time.Time(runs[backup].runlist.Front().Value.(time.Time))
|
||||
return t, nil
|
||||
} else {
|
||||
return time.Unix(0, 0), fmt.Errorf("Backup name not found and therefore has never run!")
|
||||
}
|
||||
return time.Unix(0, 0), fmt.Errorf("Backup name not found and therefore has never run")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user