Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
yuuki committed Mar 6, 2016
1 parent 42ba6b3 commit 86b373d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions archive/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ var RsyncDefaultOpts = []string{"-av", "--delete"}

func ExtractTarGz(in io.Reader, dest string) (err error) {
return archive.Untar(in, dest, &archive.TarOptions{
Compression: archive.Gzip,
NoLchown: true,
Compression: archive.Gzip,
NoLchown: true,
ExcludePatterns: []string{"dev/"}, // prevent 'operation not permitted'
})
}
Expand Down
2 changes: 1 addition & 1 deletion commands/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package commands
import (
"errors"
"fmt"
"path/filepath"
"io/ioutil"
"net/url"
"os"
"path/filepath"

"github.com/codegangsta/cli"
"github.com/docker/docker/pkg/fileutils"
Expand Down

0 comments on commit 86b373d

Please sign in to comment.