Skip to content

Commit

Permalink
Pass GID pointer to apko_types.GID in test_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
  • Loading branch information
egibs committed Feb 6, 2025
1 parent 6ca84b2 commit c0284b9
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 c0284b9

Please sign in to comment.