Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fmt
  • Loading branch information
mtojek committed Feb 6, 2025
commit 1640e0cb63fd9ac6a712df483d63e31fbc85fcd8
4 changes: 2 additions & 2 deletions provisionersdk/archive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ func TestUntar(t *testing.T) {
require.NoError(t, err)
_ = file.Close()

err = os.WriteFile(file.Name(), []byte("# ab"), 0600)
err = os.WriteFile(file.Name(), []byte("# ab"), 0o600)
require.NoError(t, err)

archive := new(bytes.Buffer)
Expand All @@ -234,7 +234,7 @@ func TestUntar(t *testing.T) {
require.NoError(t, err)

// 4. Modify the .tf file
err = os.WriteFile(file.Name(), []byte("# c"), 0600)
err = os.WriteFile(file.Name(), []byte("# c"), 0o600)
require.NoError(t, err)

// 5. Build tar archive with modified .tf file
Expand Down
Loading