add progress bars during copy

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca
2016-09-26 15:59:37 +02:00
parent 98bfef9072
commit c84203bdd5
24 changed files with 1253 additions and 58 deletions

View File

@@ -11,7 +11,6 @@ import (
"os"
"path/filepath"
"strings"
"time"
"github.com/Sirupsen/logrus"
"github.com/containers/image/types"
@@ -73,9 +72,7 @@ func newDockerClient(ctx *types.SystemContext, ref dockerReference, write bool)
TLSClientConfig: tlsc,
}
}
client := &http.Client{
Timeout: 1 * time.Minute,
}
client := &http.Client{}
if tr != nil {
client.Transport = tr
}