From 9d7d02c21c1c5dabb2bc2ca6eb9dcfe353ca8f15 Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Tue, 25 Nov 2014 06:33:06 +0100 Subject: [PATCH] Update github.com/maybebtc/logrus dependency This patch was generated by running: $ godep update github.com/maybebtc/logrus Without this, `godep restore` fails like this: ``` $ LANG=C godep restore fatal: reference is not a tree: 005463f8fb49c4a6f36181e05157e111ec5cf8a3 godep: restore: exit status 128 ``` License: MIT Signed-off-by: Christian Couder --- Godeps/Godeps.json | 4 ++-- .../maybebtc/logrus/polite_json_formatter.go | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 Godeps/_workspace/src/github.com/maybebtc/logrus/polite_json_formatter.go diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 76c9cfea1..b37ae027b 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -133,8 +133,8 @@ }, { "ImportPath": "github.com/maybebtc/logrus", - "Comment": "v0.6.0-6-g005463f", - "Rev": "005463f8fb49c4a6f36181e05157e111ec5cf8a3" + "Comment": "v0.6.0-5-gf92b795", + "Rev": "f92b7950b372b1db80bd3527e4d40e42555fe6c2" }, { "ImportPath": "github.com/mitchellh/go-homedir", diff --git a/Godeps/_workspace/src/github.com/maybebtc/logrus/polite_json_formatter.go b/Godeps/_workspace/src/github.com/maybebtc/logrus/polite_json_formatter.go deleted file mode 100644 index 0a8fc2ec0..000000000 --- a/Godeps/_workspace/src/github.com/maybebtc/logrus/polite_json_formatter.go +++ /dev/null @@ -1,16 +0,0 @@ -package logrus - -import ( - "encoding/json" - "fmt" -) - -type PoliteJSONFormatter struct{} - -func (f *PoliteJSONFormatter) Format(entry *Entry) ([]byte, error) { - serialized, err := json.Marshal(entry.Data) - if err != nil { - return nil, fmt.Errorf("Failed to marshal fields to JSON, %v", err) - } - return append(serialized, '\n'), nil -}