From 0d74097da0cb918df3923c1274e39d72db0e8eda Mon Sep 17 00:00:00 2001 From: trivernis Date: Tue, 20 Jun 2023 16:22:01 +0200 Subject: [PATCH] Remove printing of headers --- lib/dockerhub.nu | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dockerhub.nu b/lib/dockerhub.nu index c51053e..9229b2d 100644 --- a/lib/dockerhub.nu +++ b/lib/dockerhub.nu @@ -4,7 +4,6 @@ export def get_image_digest [image: string, tag: string] { | append [Accept "application/vnd.docker.distribution.manifest.v2+json"] | append [Authorization $"Bearer ($token)"] ) - print $headers ( http get -H $headers $"https://registry.hub.docker.com/v2/($image)/manifests/($tag)" | from json