Skip to content

Commit

Permalink
remove unneeded comment and debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
sami-alajrami committed Dec 9, 2024
1 parent 0910d5f commit 95537d3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions cmd/kosli/fingerprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion internal/requests/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95537d3

Please sign in to comment.