mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #8635 from blakery/master
Cleanup: Removed unused function layerArchive
This commit is contained in:
commit
83761be409
1 changed files with 0 additions and 9 deletions
|
@ -79,15 +79,6 @@ func cleanup(eng *engine.Engine, t *testing.T) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func layerArchive(tarfile string) (io.Reader, error) {
|
||||
// FIXME: need to close f somewhere
|
||||
f, err := os.Open(tarfile)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return f, nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
// Always use the same driver (vfs) for all integration tests.
|
||||
// To test other drivers, we need a dedicated driver validation suite.
|
||||
|
|
Loading…
Reference in a new issue