Skip to content

Commit

Permalink
switched to sublogger
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperspencer committed Mar 26, 2024
1 parent 19d5dbd commit 0bbd500
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gitea/gitea.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 0bbd500

Please sign in to comment.