Add get_ip_in_cidr function, extracted from puppet-k8s #196
ci.yml
on: pull_request
Puppet
/
Static validations
25s
Matrix: Puppet / unit
Puppet
/
Test suite
4s
Annotations
5 errors
|
Puppet / Static validations
Process completed with exit code 1.
|
|
Puppet / Static validations:
spec/functions/extlib/get_ip_in_cidr_spec.rb#L6
RSpec/BeEq: Prefer `be` over `eq`. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEq)
|
|
Puppet / Static validations:
lib/puppet/functions/extlib/get_ip_in_cidr.rb#L46
Layout/TrailingEmptyLines: 1 trailing blank lines detected. (https://rubystyle.guide#newline-eof)
|
|
Puppet / Static validations:
lib/puppet/functions/extlib/get_ip_in_cidr.rb#L40
Style/NumericPredicate: Use `index.negative?` instead of `index < 0`. (https://rubystyle.guide#predicate-methods)
|
|
Puppet / Test suite
Process completed with exit code 1.
|