Skip to content

Commit

Permalink
apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shanas-swi committed Oct 21, 2024
1 parent 7674314 commit 1ab5f77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions v1/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,8 +774,7 @@ func printConfigPolicy(p *pluginProxy, conf Config) error {
w.Flush()
if requiredConfigs != "" {
requiredConfigs += "! Please provide config in form of: -config '{\"key\":\"kelly\", \"spirit-animal\":\"coatimundi\"}'\n"
err := fmt.Errorf("%s", requiredConfigs)
return err
return fmt.Errorf("%s", requiredConfigs)
}

return nil
Expand Down

0 comments on commit 1ab5f77

Please sign in to comment.