Capitalize [UG]idMappings as [UG]IDMappings

Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
This commit is contained in:
Francis Laniel
2023-07-18 10:38:47 +02:00
parent b338accc78
commit c47f58c4e9
12 changed files with 61 additions and 61 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ func TestHostRootUIDNoUSERNS(t *testing.T) {
func TestHostRootUIDWithUSERNS(t *testing.T) {
config := &Config{
Namespaces: Namespaces{{Type: NEWUSER}},
UidMappings: []IDMap{
UIDMappings: []IDMap{
{
ContainerID: 0,
HostID: 1000,
@@ -67,7 +67,7 @@ func TestHostRootGIDNoUSERNS(t *testing.T) {
func TestHostRootGIDWithUSERNS(t *testing.T) {
config := &Config{
Namespaces: Namespaces{{Type: NEWUSER}},
GidMappings: []IDMap{
GIDMappings: []IDMap{
{
ContainerID: 0,
HostID: 1000,