Skip to content

Commit

Permalink
Require one driver at least
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Feb 21, 2024
1 parent 1eb0db4 commit 2984860
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/k8s-netperf/k8s-netperf.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ var rootCmd = &cobra.Command{
if len(upr.Profile) > 1 {
sr.Results = append(sr.Results, upr)
}
} else {
log.Fatalf("😭 At least one driver needs to be enabled")
}
}

Expand All @@ -205,7 +207,7 @@ var rootCmd = &cobra.Command{
if err == nil {
sr.Metadata.ClusterMetadata = metadata
} else {
log.Error(" issue getting common metadata using go-commons")
log.Error("Issue getting common metadata using go-commons")
}
}

Expand Down

0 comments on commit 2984860

Please sign in to comment.