Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename error to make revive linter happy
Replacing the "github.com/pkg/errors" with "errors" reveal a lint issue with the revive linter: InitialWaitTimeForDRPCPlacementRule should have name of the form ErrFoo (revive) While fixing: - Remove pointless wrapping. errors.Is() is documented to match any error in err's tree including err itself. - Fix typo in error message Signed-off-by: Nir Soffer <[email protected]>
- Loading branch information