Remove the cfg argument from Step.Execute [#67]

This is the first step toward removing run.Config entirely. InitKube was
the only Step that even used cfg in its Execute function; the rest just
discarded it.
This commit is contained in:
Erin Call
2020-01-16 15:30:21 -08:00
parent 88bb8085b0
commit 231138563c
17 changed files with 43 additions and 35 deletions

View File

@@ -19,7 +19,7 @@ func NewDepUpdate(cfg env.Config) *DepUpdate {
}
// Execute executes the `helm upgrade` command.
func (d *DepUpdate) Execute(_ Config) error {
func (d *DepUpdate) Execute() error {
return d.cmd.Run()
}