forked from LaconicNetwork/kompose
Fixed warnings related to user type in tests
Fixes # 343 Type of user is not string and that's what was being provided in tests so fixed it and now tests output is cleaner.
This commit is contained in:
parent
f408fd952a
commit
d64a441e53
@ -54,7 +54,6 @@ func TestCreateService(t *testing.T) {
|
|||||||
Expose: []string{"expose"}, // not supported
|
Expose: []string{"expose"}, // not supported
|
||||||
Privileged: true,
|
Privileged: true,
|
||||||
Restart: "always",
|
Restart: "always",
|
||||||
User: "user",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// An example object generated via k8s runtime.Objects()
|
// An example object generated via k8s runtime.Objects()
|
||||||
|
|||||||
@ -52,7 +52,6 @@ func newServiceConfig() kobject.ServiceConfig {
|
|||||||
Expose: []string{"expose"}, // not supported
|
Expose: []string{"expose"}, // not supported
|
||||||
Privileged: true,
|
Privileged: true,
|
||||||
Restart: "always",
|
Restart: "always",
|
||||||
User: "user", // not supported
|
|
||||||
Stdin: true,
|
Stdin: true,
|
||||||
Tty: true,
|
Tty: true,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -51,7 +51,6 @@ func newServiceConfig() kobject.ServiceConfig {
|
|||||||
Expose: []string{"expose"}, // not supported
|
Expose: []string{"expose"}, // not supported
|
||||||
Privileged: true,
|
Privileged: true,
|
||||||
Restart: "always",
|
Restart: "always",
|
||||||
User: "user", // not supported
|
|
||||||
Stdin: true,
|
Stdin: true,
|
||||||
Tty: true,
|
Tty: true,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user