remove debugging statements

pull/8225/head
Medya Gh 2020-05-20 16:51:19 -07:00
parent e2eade2aaf
commit 493b35bd45
No known key found for this signature in database
GPG Key ID: 7CF7792C6DF3245C
1 changed files with 0 additions and 3 deletions

View File

@ -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")
}