Skip to content

Commit

Permalink
layer content
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Dec 20, 2024
1 parent a6e5831 commit 453987a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/packager/images/pull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ func TestPullWithInvalidLayerInCache(t *testing.T) {
destDir := t.TempDir()
cacheDir := t.TempDir()
require.NoError(t, err)
invalidText := []byte("this text here is not the valid layer that the image is looking for")
err = os.WriteFile(filepath.Join(cacheDir, "sha256:94c7366c1c3058fbc60a5ea04b6d13199a592a67939a043c41c051c4bfcd117a"), invalidText, 0644)
layerContent := []byte("this text here is not the valid layer that the image is looking for")
err = os.WriteFile(filepath.Join(cacheDir, "sha256:94c7366c1c3058fbc60a5ea04b6d13199a592a67939a043c41c051c4bfcd117a"), layerContent, 0600)
require.NoError(t, err)

pullConfig := PullConfig{
Expand Down

0 comments on commit 453987a

Please sign in to comment.