New ๐ŸŒŠ wave for @helm

Commit b2ff3946

b2ff3946016bMerged

zhiliaev <[email protected]> ยท 4 years ago ยท 1 file ยท ~1 modified

Description

fix: lint

Details

Commit
b2ff3946016b
Parent
75cce698b1a3

pkg/registry/install.gomodifiedView file

@@ -11,6 +11,7 @@
1111 // Allow public OCI registry #410.
1212 if c.Username == "" {
1313 c.Logger().Debugln("Public OCI chart. Skipping helm login.")
14+
1415 return nil
1516 }
1617
@@ -19,7 +20,6 @@
1920 registry.LoginOptBasicAuth(c.Username, c.Password),
2021 registry.LoginOptInsecure(c.Insecure),
2122 )
22-
2323 if err != nil {
2424 return fmt.Errorf("failed to login in helm registry: %w", err)
2525 }