Update dependencies to use sirupsen not Sirupsen

That entailed a few other fixes, eg small Notary API changes.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-11-01 12:14:20 +00:00
parent 99480b5dd0
commit 45333d2480
288 changed files with 5855 additions and 10377 deletions

View File

@@ -12,8 +12,8 @@ import (
"strconv"
"strings"
log "github.com/Sirupsen/logrus"
"github.com/moby/tool/src/moby"
log "github.com/sirupsen/logrus"
)
const defaultNameForStdin = "moby"
@@ -176,7 +176,7 @@ func build(args []string) {
buffer := new(bytes.Buffer)
response, err := http.Get(arg)
if err != nil {
log.Fatal("Cannot fetch remote yaml file: %v", err)
log.Fatalf("Cannot fetch remote yaml file: %v", err)
}
defer response.Body.Close()
_, err = io.Copy(buffer, response.Body)

View File

@@ -6,8 +6,8 @@ import (
"os"
"path/filepath"
log "github.com/Sirupsen/logrus"
"github.com/moby/tool/src/moby"
log "github.com/sirupsen/logrus"
)
var (