Bump to 1.0

This commit is contained in:
Richard Patel 2018-11-18 00:54:58 +01:00
parent 6793086c22
commit d593ba2d0b
No known key found for this signature in database
GPG Key ID: C268B2BBDA2ABECB
2 changed files with 4 additions and 9 deletions

View File

@ -17,10 +17,9 @@ import (
var app = cli.App {
Name: "od-database-crawler",
Usage: "OD-Database Go crawler",
Version: "0.2",
Version: "1.0",
BashComplete: cli.DefaultAppComplete,
Writer: os.Stdout,
Compiled: buildDate,
Action: cmdBase,
Commands: []cli.Command{
{
@ -146,8 +145,3 @@ func cmdCrawler(clic *cli.Context) error {
return nil
}
var buildDate = time.Date(
2018, 11, 17,
23, 32, 0, 0,
time.UTC)

View File

@ -114,8 +114,9 @@ func uploadChunks(websiteId uint64, f *os.File) error {
iter, res.Status)
}
logrus.Infof("Uploading file list part %d: %s",
iter, res.Status)
logrus.WithField("id", websiteId).
WithField("part", iter).
Infof("Uploading files chunk")
}
return nil
}