forked from LaconicNetwork/kompose
Merge pull request #380 from surajssd/fix_test_user_warnings
Fixed warnings related to user type in tests
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user