timetable-extension #1
@ -53,7 +53,10 @@ func runUpdate(tarballUrl string) error {
|
|||||||
}
|
}
|
||||||
log.Info("Loaded PIS Files to Slice")
|
log.Info("Loaded PIS Files to Slice")
|
||||||
|
|
||||||
DEBUG_saveSliceToFile(*pisSlice, "pis_out.json")
|
err = DEBUG_saveSliceToFile(*pisSlice, "/pis_out.json")
|
||||||
|
if err != nil {
|
||||||
|
log.Error("Error Saving PIS Data to Debug File")
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
err = dbAccess.DropCollection(dbAccess.PisCollection)
|
err = dbAccess.DropCollection(dbAccess.PisCollection)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user