Skip to content

Commit

Permalink
Fix plugin output (#233)
Browse files Browse the repository at this point in the history
Fix C&P logging error when identifying configuration parsing error
  • Loading branch information
damyan authored Dec 19, 2024
1 parent c2b6158 commit 33d39fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/ipam/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var (
// args[0] = path to config file
func parseArgs(args ...string) (string, error) {
if len(args) != 1 {
return "", fmt.Errorf("exactly one argument must be passed to the metal plugin, got %d", len(args))
return "", fmt.Errorf("exactly one argument must be passed to the ipam plugin, got %d", len(args))
}
return args[0], nil
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/oob/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const (
// args[0] = path to config file
func parseArgs(args ...string) (string, error) {
if len(args) != 1 {
return "", fmt.Errorf("exactly one argument must be passed to the metal plugin, got %d", len(args))
return "", fmt.Errorf("exactly one argument must be passed to the oob plugin, got %d", len(args))
}
return args[0], nil
}
Expand Down

0 comments on commit 33d39fb

Please sign in to comment.