Skip to content

Commit

Permalink
Merge pull request #3 from compscore/options-parameter
Browse files Browse the repository at this point in the history
add options parameter
  • Loading branch information
1nv8rzim authored Sep 13, 2023
2 parents 2ddf425 + a5d1cb2 commit a10a464
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 (
"strings"
)

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) {
// Set up the custom resolver with the provided DNS server
deadline, ok := ctx.Deadline()
if !ok {
Expand Down

0 comments on commit a10a464

Please sign in to comment.