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:
Suraj Deshmukh 2017-01-16 12:07:33 +05:30
parent f408fd952a
commit d64a441e53
3 changed files with 0 additions and 3 deletions

View File

@ -54,7 +54,6 @@ func TestCreateService(t *testing.T) {
Expose: []string{"expose"}, // not supported
Privileged: true,
Restart: "always",
User: "user",
}
// An example object generated via k8s runtime.Objects()

View File

@ -52,7 +52,6 @@ func newServiceConfig() kobject.ServiceConfig {
Expose: []string{"expose"}, // not supported
Privileged: true,
Restart: "always",
User: "user", // not supported
Stdin: true,
Tty: true,
}

View File

@ -51,7 +51,6 @@ func newServiceConfig() kobject.ServiceConfig {
Expose: []string{"expose"}, // not supported
Privileged: true,
Restart: "always",
User: "user", // not supported
Stdin: true,
Tty: true,
}