Skip to content

Commit

Permalink
Uses WithPullPolicy("never") instead of WithNoPull()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Moran authored and paketo-bot committed Oct 14, 2020
1 parent 275280d commit 233bd2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration/node_start_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func testNodeStart(t *testing.T, context spec.G, it spec.S) {
var logs fmt.Stringer
image, logs, err = pack.WithNoColor().Build.
WithBuildpacks(nodeBuildpack).
WithNoPull().
WithPullPolicy("never").
Execute(name, filepath.Join("testdata", "no_package_manager"))
Expect(err).NotTo(HaveOccurred())

Expand Down
2 changes: 1 addition & 1 deletion integration/npm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func testNPM(t *testing.T, context spec.G, it spec.S) {
var logs fmt.Stringer
image, logs, err = pack.WithNoColor().Build.
WithBuildpacks(nodeBuildpack).
WithNoPull().
WithPullPolicy("never").
Execute(name, filepath.Join("testdata", "npm"))
Expect(err).NotTo(HaveOccurred())

Expand Down
2 changes: 1 addition & 1 deletion integration/yarn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func testYarn(t *testing.T, context spec.G, it spec.S) {
var logs fmt.Stringer
image, logs, err = pack.WithNoColor().Build.
WithBuildpacks(nodeBuildpack).
WithNoPull().
WithPullPolicy("never").
Execute(name, filepath.Join("testdata", "yarn"))
Expect(err).NotTo(HaveOccurred())

Expand Down

0 comments on commit 233bd2a

Please sign in to comment.