kubernetes: Use errors.Is in PluginArgs validation tests

/sig scheduling /kind cleanup

Files:

We currently compare the error strings instead of leveraging errors.Is, which will ensure the correct types are used.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 21 (12 by maintainers)

Most upvoted comments

I’d like to give a try 😃