Skip to content

Commit ad2fd69

Browse files
committed
Fix oras v2 trying to parse empty tmp file as JSON
Signed-off-by: Matheus Pimenta <[email protected]>
1 parent 97676a1 commit ad2fd69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/helm/registry/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func ClientGenerator(tlsConfig *tls.Config, isLogin, insecureHTTP bool) (*regist
3939
}
4040

4141
var errs []error
42-
rClient, err := newClient(credentialsFile.Name(), tlsConfig, insecureHTTP)
42+
rClient, err := newClient("", tlsConfig, insecureHTTP)
4343
if err != nil {
4444
errs = append(errs, err)
4545
// attempt to delete the temporary file

0 commit comments

Comments
 (0)