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()
|
defer db.Close()
|
||||||
|
|
||||||
feeds := splitFeeds()
|
feeds := splitFeeds()
|
||||||
|
|
||||||
if markOnly {
|
if markOnly {
|
||||||
log.Info("marking database")
|
log.Info("marking database")
|
||||||
for _, feed := range feeds {
|
for _, feed := range feeds {
|
||||||
|
|
|
@ -30,6 +30,7 @@ func connectMinio() (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func restoreDatabase(path string) error {
|
func restoreDatabase(path string) error {
|
||||||
|
log.Debugln("restoring database from minio")
|
||||||
if minioClient == nil {
|
if minioClient == nil {
|
||||||
if err := connectMinio(); err != nil {
|
if err := connectMinio(); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue