|
|
|
@ -22,7 +22,6 @@ import (
|
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
|
|
|
|
|
|
"helm.sh/helm/v3/cmd/helm/require"
|
|
|
|
|
experimental "helm.sh/helm/v3/internal/experimental/action"
|
|
|
|
|
"helm.sh/helm/v3/pkg/action"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -39,7 +38,7 @@ func newRegistryLogoutCmd(cfg *action.Configuration, out io.Writer) *cobra.Comma
|
|
|
|
|
Hidden: !FeatureGateOCI.IsEnabled(),
|
|
|
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
|
|
|
hostname := args[0]
|
|
|
|
|
return experimental.NewRegistryLogout(cfg).Run(out, hostname)
|
|
|
|
|
return action.NewRegistryLogout(cfg).Run(out, hostname)
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|