Skip to content

Treat initial-cluster-size option in policy as an integer #234

Treat initial-cluster-size option in policy as an integer

Treat initial-cluster-size option in policy as an integer #234

Triggered via pull request October 31, 2023 04:22
Status Failure
Total duration 3m 1s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Puppet  /  Static validations
2m 49s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Puppet / Static validations: lib/puppet/type/rabbitmq_policy.rb#L123
Lint/RedundantCopDisableDirective: Unnecessary disabling of `Style/GuardClause`.
Puppet / Static validations: lib/puppet/type/rabbitmq_policy.rb#L127
Style/GuardClause: Use a guard clause (`return unless definition.key? 'initial-cluster-size'`) instead of wrapping the code inside a conditional expression. (https://rubystyle.guide#no-nested-conditionals)
Puppet / Static validations
Process completed with exit code 1.