Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go
go:
- 1.6
- 1.7
- 1.8

sudo: required

Expand Down
2 changes: 2 additions & 0 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ import:
version: 9c28e4bbd74e5c3ed7aacbc552b2cab7cfdfe744
- package: github.com/spf13/pflag
version: 7b17cc4658ef5ca157b986ea5c0b43af7938532b
- package: github.com/Sirupsen/logrus
version: ~0.10.0
4 changes: 2 additions & 2 deletions image/autodetect.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func Autodetect(path string) (string, error) {
return "", errors.New("unknown file type")
}

if _, err := f.Seek(0, os.SEEK_SET); err != nil {
if _, err := f.Seek(0, io.SeekStart); err != nil {
return "", errors.Wrap(err, "unable to seek")
}

Expand All @@ -81,7 +81,7 @@ func Autodetect(path string) (string, error) {
}{}

if err := json.NewDecoder(f).Decode(&header); err != nil {
if _, errSeek := f.Seek(0, os.SEEK_SET); errSeek != nil {
if _, errSeek := f.Seek(0, io.SeekStart); errSeek != nil {
return "", errors.Wrap(err, "unable to seek")
}

Expand Down
2 changes: 1 addition & 1 deletion image/walker.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func newTarWalker(tarFile string, r io.ReadSeeker) walker {
}

func (w *tarWalker) walk(f walkFunc) error {
if _, err := w.r.Seek(0, os.SEEK_SET); err != nil {
if _, err := w.r.Seek(0, io.SeekStart); err != nil {
return errors.Wrapf(err, "unable to reset")
}

Expand Down
21 changes: 21 additions & 0 deletions vendor/github.com/Sirupsen/logrus/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions vendor/github.com/Sirupsen/logrus/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

264 changes: 264 additions & 0 deletions vendor/github.com/Sirupsen/logrus/entry.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading