1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00

break out util/cmd, util/fs, util/cygpath packages

This commit is contained in:
Jim Minter
2017-07-11 10:33:36 +01:00
parent fdcbd687c7
commit d4e9bd0df6
39 changed files with 208 additions and 186 deletions

View File

@@ -26,6 +26,7 @@ import (
dockerpkg "github.com/openshift/source-to-image/pkg/docker"
"github.com/openshift/source-to-image/pkg/tar"
"github.com/openshift/source-to-image/pkg/util"
"github.com/openshift/source-to-image/pkg/util/fs"
"golang.org/x/net/context"
)
@@ -429,7 +430,7 @@ func (i *integrationTest) exerciseInjectionBuild(tag, imageName string, injectio
i.fileExists(containerID, "/sti-fake/relative-secret-delivered")
// Make sure the injected file does not exists in resulting image
files, err := util.ExpandInjectedFiles(util.NewFileSystem(), injectionList)
files, err := util.ExpandInjectedFiles(fs.NewFileSystem(), injectionList)
if err != nil {
t.Errorf("Unexpected error: %v", err)
}