Skip to content

Commit

Permalink
bugfixes identified during local run for CI cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Nishant Parekh <nparekh@redhat.com>
  • Loading branch information
nishant-parekh authored and nocturnalastro committed Oct 10, 2024
1 parent 3fc8e3b commit 8362c60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func AddInterfaceFlag(targetCmd *cobra.Command) {
}

func AddNodeNameFlag(targetCmd *cobra.Command) {
targetCmd.Flags().StringVarP(&ptpInterface,
targetCmd.Flags().StringVarP(&nodeName,
"nodeName",
"n", "",
"Name of the Node under test (valid only for MNO Use case)")
Expand Down
2 changes: 1 addition & 1 deletion pkg/verify/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func report(results []*ValidationResult, useAnalyserJSON bool) {
}

func Verify(interfaceName, kubeConfig string, useAnalyserJSON bool, nodeName string) {
checks := getValidations(interfaceName, kubeConfig, nodeName)
checks := getValidations(interfaceName, nodeName, kubeConfig)

results := make([]*ValidationResult, 0)
for _, check := range checks {
Expand Down

0 comments on commit 8362c60

Please sign in to comment.