Skip to content

Commit d25b0d9

Browse files
committed
Remove unnecessary function arguments
Signed-off-by: Evans Mungai <[email protected]>
1 parent 323f889 commit d25b0d9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cmd/helm/dependency.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func newDependencyCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
9494

9595
cmd.AddCommand(newDependencyListCmd(out))
9696
cmd.AddCommand(newDependencyUpdateCmd(cfg, out))
97-
cmd.AddCommand(newDependencyBuildCmd(cfg, out))
97+
cmd.AddCommand(newDependencyBuildCmd(out))
9898

9999
return cmd
100100
}

cmd/helm/dependency_build.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If no lock file is found, 'helm dependency build' will mirror the behavior
4141
of 'helm dependency update'.
4242
`
4343

44-
func newDependencyBuildCmd(_ *action.Configuration, out io.Writer) *cobra.Command {
44+
func newDependencyBuildCmd(out io.Writer) *cobra.Command {
4545
client := action.NewDependency()
4646

4747
cmd := &cobra.Command{

cmd/helm/package.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ If '--keyring' is not specified, Helm usually defaults to the public keyring
4747
unless your environment is otherwise configured.
4848
`
4949

50-
func newPackageCmd(_ *action.Configuration, out io.Writer) *cobra.Command {
50+
func newPackageCmd(out io.Writer) *cobra.Command {
5151
client := action.NewPackage()
5252
valueOpts := &values.Options{}
5353

cmd/helm/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func newRootCmd(actionConfig *action.Configuration, out io.Writer, args []string
169169
newPullCmd(actionConfig, out),
170170
newShowCmd(actionConfig, out),
171171
newLintCmd(out),
172-
newPackageCmd(actionConfig, out),
172+
newPackageCmd(out),
173173
newRepoCmd(out),
174174
newSearchCmd(out),
175175
newVerifyCmd(out),

0 commit comments

Comments
 (0)