Commit 06507e93 authored by Random-Liu's avatar Random-Liu

Fix node conformance test.

parent 6fa40422
...@@ -85,7 +85,7 @@ func buildConformanceTest(binDir string) error { ...@@ -85,7 +85,7 @@ func buildConformanceTest(binDir string) error {
commandToString(cmd), err, output) commandToString(cmd), err, output)
} }
// Save docker image into tar file. // Save docker image into tar file.
cmd = exec.Command("docker", "save", getConformanceImageRepo(), "-o", filepath.Join(binDir, conformanceTarfile)) cmd = exec.Command("docker", "save", "-o", filepath.Join(binDir, conformanceTarfile), getConformanceImageRepo())
if output, err := cmd.CombinedOutput(); err != nil { if output, err := cmd.CombinedOutput(); err != nil {
return fmt.Errorf("failed to save node conformance docker image into tar file: command - %q, error - %v, output - %q", return fmt.Errorf("failed to save node conformance docker image into tar file: command - %q, error - %v, output - %q",
commandToString(cmd), err, output) commandToString(cmd), err, output)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment