(c *perfops.Client, target, from string, nodeIDs []int, limit int, ipv6 bool)
| 50 | } |
| 51 | |
| 52 | func runPing(c *perfops.Client, target, from string, nodeIDs []int, limit int, ipv6 bool) error { |
| 53 | ctx := context.Background() |
| 54 | ipversion := 4 |
| 55 | if ipv6 { |
| 56 | ipversion = 6 |
| 57 | } |
| 58 | return internal.RunTest(ctx, target, from, nodeIDs, limit, ipversion, debug, outputJSON, c.Run.Ping, c.Run.PingOutput) |
| 59 | } |