Update rollback process

This commit is contained in:
wulonghui
2015-09-25 10:55:03 +08:00
committed by wulonghui
parent 4cb021f5df
commit cbd10dbf36
2 changed files with 50 additions and 22 deletions

View File

@@ -79,7 +79,7 @@ func TestValidateArgs(t *testing.T) {
cmd.Flags().Set(key, val)
}
}
_, _, _, _, err := validateArguments(cmd, test.filenames, test.args)
err := validateArguments(cmd, test.filenames, test.args)
if err != nil && !test.expectErr {
t.Errorf("unexpected error: %v (%s)", err, test.testName)
}