remove deprecated cmd function in integration-cli
Remove deprecated cmd function in integration-cli and change cmd to dockerCmd in all test files Signed-off-by: Daehyeok Mun <daehyeok@gmail.com> Upstream-commit: 7fbbd515b1018721e91199960d1933383a8262a1 Component: engine
This commit is contained in:
@ -356,11 +356,6 @@ func pullImageIfNotExist(image string) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
// deprecated, use dockerCmd instead
|
||||
func cmd(t *testing.T, args ...string) (string, int, error) {
|
||||
return dockerCmd(t, args...)
|
||||
}
|
||||
|
||||
func dockerCmd(t *testing.T, args ...string) (string, int, error) {
|
||||
out, status, err := runCommandWithOutput(exec.Command(dockerBinary, args...))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user