From d593ba2d0bed52c97edb42765ac2c7b0b4689e82 Mon Sep 17 00:00:00 2001 From: Richard Patel Date: Sun, 18 Nov 2018 00:54:58 +0100 Subject: [PATCH] Bump to 1.0 --- main.go | 8 +------- server.go | 5 +++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/main.go b/main.go index 4dc86bb..5a1194a 100644 --- a/main.go +++ b/main.go @@ -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) diff --git a/server.go b/server.go index 382a960..ebf9323 100644 --- a/server.go +++ b/server.go @@ -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 }