mirror of
https://github.com/cooperspencer/gickup
synced 2024-10-18 07:38:08 +02:00
switched to sublogger
This commit is contained in:
parent
19d5dbdd48
commit
0bbd500479
@ -9,7 +9,6 @@ import (
|
||||
"github.com/cooperspencer/gickup/logger"
|
||||
"github.com/cooperspencer/gickup/types"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
var (
|
||||
@ -151,7 +150,7 @@ func Backup(r types.Repo, d types.GenRepo, dry bool) bool {
|
||||
|
||||
_, err = time.ParseDuration(d.MirrorInterval)
|
||||
if err != nil {
|
||||
log.Warn().Msgf("%s is not a valid duration!", d.MirrorInterval)
|
||||
sub.Warn().Msgf("%s is not a valid duration!", d.MirrorInterval)
|
||||
d.MirrorInterval = repo.MirrorInterval
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user