From 95537d37aa91c2e4b6fe0d5f018da158d4b964f0 Mon Sep 17 00:00:00 2001 From: Sami Alajrami Date: Mon, 9 Dec 2024 16:38:53 +0100 Subject: [PATCH] remove unneeded comment and debug print --- cmd/kosli/fingerprint.go | 4 ---- internal/requests/requests.go | 1 - 2 files changed, 5 deletions(-) diff --git a/cmd/kosli/fingerprint.go b/cmd/kosli/fingerprint.go index 6e6dd591..20fc52e5 100644 --- a/cmd/kosli/fingerprint.go +++ b/cmd/kosli/fingerprint.go @@ -40,10 +40,6 @@ kosli fingerprint --artifact-type dir --exclude logs --exclude *.exe mydir kosli fingerprint --artifact-type docker nginx:latest ` -//# fingerprint a container image from a remote registry -//kosli fingerprint --artifact-type oci nginx:latest \ -// --SOME-AUTHENTICATION - type fingerprintOptions struct { artifactType string registryProvider string diff --git a/internal/requests/requests.go b/internal/requests/requests.go index c7877ac7..4340fd90 100644 --- a/internal/requests/requests.go +++ b/internal/requests/requests.go @@ -249,7 +249,6 @@ func (c *Client) Do(p *RequestParams) (*HTTPResponse, error) { cleanedErrorMessage = fmt.Sprintf("%s", respBodyMap) } } - fmt.Printf("RESPONSE %v", resp) return nil, fmt.Errorf("%s", cleanedErrorMessage) } return &HTTPResponse{string(body), resp}, nil