Skip to content

Commit

Permalink
added options parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
1nv8rzim committed Sep 13, 2023
1 parent fa6242e commit ca3b0dc
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 ca3b0dc

Please sign in to comment.