Skip to content

Commit

Permalink
Merge pull request moby#14878 from icecrime/14756_golint_on_ci
Browse files Browse the repository at this point in the history
Enable validate-lint as part of CI
  • Loading branch information
Jessie Frazelle committed Jul 22, 2015
2 parents a3857cc + bc8b8e0 commit 5fdc102
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions hack/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ echo
DEFAULT_BUNDLES=(
validate-dco
validate-gofmt
validate-lint
validate-pkg
validate-test
validate-toml
Expand Down
3 changes: 3 additions & 0 deletions pkg/chrootarchive/diff_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import (
"github.com/docker/docker/pkg/archive"
)

// ApplyLayer parses a diff in the standard layer format from `layer`, and
// applies it to the directory `dest`. Returns the size in bytes of the
// contents of the layer.
func ApplyLayer(dest string, layer archive.ArchiveReader) (size int64, err error) {
dest = filepath.Clean(dest)
decompressed, err := archive.DecompressStream(layer)
Expand Down

0 comments on commit 5fdc102

Please sign in to comment.