...and set bar size to 80, since it actually was only 98 'cause i was fetching the "golang" repository. im a dummy. "aesthetics"
@@ -62,7 +62,7 @@ func main() {
return
}
- logrus.Infof("fetching %s", ref)
+ logrus.Infof("fetching %s:%s (%s)", req.Source.Repository, req.Source.Tag, req.Version.Digest)
image, err := remote.Image(n)
if err != nil {
@@ -58,7 +58,7 @@ func extractLayer(dest string, layer v1.Layer, written, removed map[string]struc
bar := pb.New64(size).SetUnits(pb.U_BYTES)
bar.Output = os.Stderr
bar.Prefix(digest.Hex[0:12])
- bar.SetWidth(98)
+ bar.SetWidth(80)
bar.Start()
defer bar.Finish()