Unverified Commit 493b35bd authored by Med G's avatar Med G

remove debugging statements

parent e2eade2a
......@@ -18,7 +18,6 @@ package image
import (
"context"
"fmt"
"io/ioutil"
"os"
"os/exec"
......@@ -129,13 +128,11 @@ func WriteImageToDaemon(img string) error {
//
// https://github.com/google/go-containerregistry/pull/702
fmt.Println("---------------pulling image----------------")
glog.V(3).Infof("Pulling image %v", ref)
// Pull digest
cmd := exec.Command("docker", "pull", "--quiet", img)
if _, err := cmd.Output(); err != nil {
fmt.Printf("---------------ERROR pulling image----------------: %v", err)
return errors.Wrap(err, "pulling remote image")
}
......
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