mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-17 20:07:08 +02:00
renamed New() returns execer instead of interface
This commit is contained in:
+2
-2
@@ -15,9 +15,9 @@ type Runner interface {
|
||||
Execute(cmd string, args []string) ([]byte, error)
|
||||
}
|
||||
|
||||
type CliRunner struct{}
|
||||
type ShellRunner struct{}
|
||||
|
||||
func (cli CliRunner) Execute(cmd string, args []string) ([]byte, error) {
|
||||
func (shell ShellRunner) Execute(cmd string, args []string) ([]byte, error) {
|
||||
dir, err := ioutil.TempDir("", tmpPrefix+cmd+tmpSuffix)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user