test real baza
This commit is contained in:
parent
22f275fb03
commit
73941daf44
3
main.go
3
main.go
|
|
@ -87,7 +87,8 @@ func worker(db *gorm.DB, stopCh <-chan struct{}, updatePeriod time.Duration) {
|
||||||
log.Println("Error retrieving products:", err)
|
log.Println("Error retrieving products:", err)
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
log.Println(result)
|
log.Println(len(result))
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update products as needed
|
// Update products as needed
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue