Skip to content

Commit

Permalink
Merge pull request #2 from compscore/options-parameter
Browse files Browse the repository at this point in the history
added options parameter
  • Loading branch information
1nv8rzim authored Sep 13, 2023
2 parents fa6242e + ca3b0dc commit 4abbcf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/go-ping/ping"
)

func Run(ctx context.Context, target string, command string, expectedOutput string, username string, password string) (bool, string) {
func Run(ctx context.Context, target string, command string, expectedOutput string, username string, password string, options map[string]interface{}) (bool, string) {
// create ping
pinger, err := ping.NewPinger(target)
if err != nil {
Expand Down

0 comments on commit 4abbcf3

Please sign in to comment.