Remove redundant parameter and fix typos

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
yuexiao-wang
2016-11-10 10:39:23 +08:00
parent 01de03c7d0
commit b6fe99530c
3 changed files with 6 additions and 8 deletions

View File

@ -7,9 +7,8 @@ import (
)
type arguments struct {
options execOptions
container string
execCmd []string
options execOptions
execCmd []string
}
func TestParseExec(t *testing.T) {
@ -73,7 +72,7 @@ func TestParseExec(t *testing.T) {
}
for valid, expectedExecConfig := range valids {
execConfig, err := parseExec(&valid.options, valid.container, valid.execCmd)
execConfig, err := parseExec(&valid.options, valid.execCmd)
if err != nil {
t.Fatal(err)
}