Merge pull request #380 from surajssd/fix_test_user_warnings

Fixed warnings related to user type in tests
This commit is contained in:
Suraj Deshmukh
2017-01-18 20:22:59 +05:30
committed by GitHub
3 changed files with 0 additions and 3 deletions
@@ -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,
} }