Skip to content

Commit

Permalink
Merge pull request #1777 from egibs/fix-gid-int
Browse files Browse the repository at this point in the history
Cast GID pointer to apko_types.GID in test_test.go
  • Loading branch information
egibs authored Feb 7, 2025
2 parents 6ca84b2 + c0284b9 commit cf2e844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/test_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func defaultEnv(opts ...func(*apko_types.ImageConfiguration)) apko_types.ImageCo
env := apko_types.ImageConfiguration{
Accounts: types.ImageAccounts{
Groups: []types.Group{{GroupName: "build", GID: 1000, Members: []string{"build"}}},
Users: []apko_types.User{{UserName: "build", UID: 1000, GID: &gid1000}},
Users: []apko_types.User{{UserName: "build", UID: 1000, GID: apko_types.GID(&gid1000)}},
},
}

Expand Down

0 comments on commit cf2e844

Please sign in to comment.