Skip to content

Commit

Permalink
/Fire/Execute/
Browse files Browse the repository at this point in the history
  • Loading branch information
sgsullivan committed Aug 3, 2022
1 parent 94a45db commit 1bc7723
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion befehl.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func New(options *Options) *Instance {
}
}

func (instance *Instance) Fire(hostsFile, payload string, routines int) error {
func (instance *Instance) Execute(hostsFile, payload string, routines int) error {
if bytePayload, readFileErr := filesystem.ReadFile(payload); readFileErr == nil {
if instance.sshKey != nil {
if err := instance.populateSshKey(); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sshuser = "eingeben"
LogDir: Config.GetString("general.logdir"),
})

if err := instance.Fire(hostsFile, payload, routines); err != nil {
if err := instance.Execute(hostsFile, payload, routines); err != nil {
panic(err)
}
},
Expand Down

0 comments on commit 1bc7723

Please sign in to comment.