Skip to content

Commit

Permalink
Fix hostnet arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
  • Loading branch information
rsevilla87 committed Feb 19, 2024
1 parent 9c61fac commit 996f2d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/k8s-netperf/k8s-netperf.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ var rootCmd = &cobra.Command{
// No need to run hostNetwork through Service.
if !nc.Service {
if netperf {
npr := executeWorkload(nc, s, false, true, false, false)
npr := executeWorkload(nc, s, true, true, false, false)
sr.Results = append(sr.Results, npr)
}
if iperf3 {
Expand All @@ -176,7 +176,7 @@ var rootCmd = &cobra.Command{
}
}
if uperf {
upr := executeWorkload(nc, s, true, false, true, true)
upr := executeWorkload(nc, s, true, true, true, true)
if len(upr.Profile) > 1 {
sr.Results = append(sr.Results, upr)
}
Expand Down

0 comments on commit 996f2d3

Please sign in to comment.