Pārlūkot izejas kodu

Removed unused function layerArchive

Signed-off-by: Blake Geno <blakegeno@gmail.com>
Blake Geno 10 gadi atpakaļ
vecāks
revīzija
7cff8db4a3
1 mainītis faili ar 0 papildinājumiem un 9 dzēšanām
  1. 0 9
      integration/runtime_test.go

+ 0 - 9
integration/runtime_test.go

@@ -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.