diff options
Diffstat (limited to 'test/bin2img/bin2img.go')
-rw-r--r-- | test/bin2img/bin2img.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bin2img/bin2img.go b/test/bin2img/bin2img.go index b75289458..b5be8615a 100644 --- a/test/bin2img/bin2img.go +++ b/test/bin2img/bin2img.go @@ -154,7 +154,7 @@ func main() { os.Exit(1) } defer img.Close() - layer, err := img.PutBlob(layerBuffer, layerInfo) + layer, err := img.PutBlob(layerBuffer, layerInfo, false) if err != nil { logrus.Errorf("error preparing to write image: %v", err) os.Exit(1) @@ -182,7 +182,7 @@ func main() { Digest: digest.Canonical.FromBytes(cbytes), Size: int64(len(cbytes)), } - configInfo, err = img.PutBlob(bytes.NewBuffer(cbytes), configInfo) + configInfo, err = img.PutBlob(bytes.NewBuffer(cbytes), configInfo, false) if err != nil { logrus.Errorf("error saving configuration: %v", err) os.Exit(1) |