From a86d6a461c618f31fdc2d2687932d83563ed126c Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 6 Apr 2018 09:47:44 +0100 Subject: [PATCH] Update logrus package name --- cli/start.go | 2 +- glide.lock | 8 ++++---- glide.yaml | 4 ++-- log/json.go | 2 +- log/log.go | 2 +- log/text.go | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cli/start.go b/cli/start.go index 9f858d85..13c214d4 100644 --- a/cli/start.go +++ b/cli/start.go @@ -31,7 +31,7 @@ var startCmd = &cobra.Command{ Short: "Start the database and http server", PreRun: func(cmd *cobra.Command, args []string) { - if opts.Logging.Output == "text" { + if opts.Logging.Output != "none" { fmt.Print(logo) } diff --git a/glide.lock b/glide.lock index 616ea0ae..27faeb90 100644 --- a/glide.lock +++ b/glide.lock @@ -1,12 +1,12 @@ -hash: cc325edb4f8ae4bfdaac8b068e01dfc5ed0d632d070c9d41181c32799e5449d3 -updated: 2018-04-06T00:06:11.90235+01:00 +hash: 78b2793cc6b44df21d4b96f19e3ca2d9ec1d3de7be1e0cba3a5087b5079abea4 +updated: 2018-04-06T09:47:33.423062+01:00 imports: - name: github.com/abcum/bump version: 526934c541e071b5a330671c76434b9e32d55638 - name: github.com/abcum/cork version: 6cbaf5d51f99013c103c95f336e98da8ef04f85d - name: github.com/abcum/fibre - version: 3a266fab93ddc90e098970e3a705c3adf6964843 + version: 6c2189150be9541c7c1f1803b98c452e553fe6e2 subpackages: - mw - name: github.com/abcum/ptree @@ -90,7 +90,7 @@ imports: version: 1744e2970ca51c86172c8190fadad617561ed6e7 subpackages: - diffmatchpatch -- name: github.com/Sirupsen/logrus +- name: github.com/sirupsen/logrus version: c155da19408a8799da419ed3eeb0cb5db0ad5dbc - name: github.com/spf13/cobra version: a1f051bc3eba734da4772d60e2d677f47cf93ef4 diff --git a/glide.yaml b/glide.yaml index dbde39aa..4f4d6985 100644 --- a/glide.yaml +++ b/glide.yaml @@ -1,7 +1,5 @@ package: github.com/abcum/surreal import: -- package: github.com/Sirupsen/logrus - version: ^1.0.5 - package: github.com/abcum/bump - package: github.com/abcum/cork - package: github.com/abcum/fibre @@ -34,6 +32,8 @@ import: version: ^1.0.0 subpackages: - diffmatchpatch +- package: github.com/sirupsen/logrus + version: ^1.0.5 - package: github.com/spf13/cobra version: ^0.0.2 - package: github.com/ugorji/go diff --git a/log/json.go b/log/json.go index dbc6e080..7e39ac30 100644 --- a/log/json.go +++ b/log/json.go @@ -19,7 +19,7 @@ import ( "encoding/json" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) type JSONFormatter struct { diff --git a/log/log.go b/log/log.go index 1a5afca2..08269aa7 100644 --- a/log/log.go +++ b/log/log.go @@ -20,7 +20,7 @@ import ( "io/ioutil" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" ) const ( diff --git a/log/text.go b/log/text.go index a3a731c9..e2654308 100644 --- a/log/text.go +++ b/log/text.go @@ -25,7 +25,7 @@ import ( "github.com/mgutz/ansi" - "github.com/Sirupsen/logrus" + "github.com/sirupsen/logrus" "golang.org/x/crypto/ssh/terminal" )