even yet more logs
This commit is contained in:
parent
64190a500d
commit
baf36dbaf8
1
main.go
1
main.go
|
@ -155,6 +155,7 @@ func main() {
|
|||
defer db.Close()
|
||||
|
||||
feeds := splitFeeds()
|
||||
|
||||
if markOnly {
|
||||
log.Info("marking database")
|
||||
for _, feed := range feeds {
|
||||
|
|
|
@ -30,6 +30,7 @@ func connectMinio() (err error) {
|
|||
}
|
||||
|
||||
func restoreDatabase(path string) error {
|
||||
log.Debugln("restoring database from minio")
|
||||
if minioClient == nil {
|
||||
if err := connectMinio(); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue