1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Removed unused function layerArchive

Signed-off-by: Blake Geno <blakegeno@gmail.com>
This commit is contained in:
Blake Geno 2014-10-17 10:49:21 -04:00
parent 6ce4f82ebe
commit 7cff8db4a3

View file

@ -79,15 +79,6 @@ func cleanup(eng *engine.Engine, t *testing.T) error {
return nil 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() { func init() {
// Always use the same driver (vfs) for all integration tests. // Always use the same driver (vfs) for all integration tests.
// To test other drivers, we need a dedicated driver validation suite. // To test other drivers, we need a dedicated driver validation suite.