Skip to content

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

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

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

Triggered via pull request October 31, 2023 04:38
Status Failure
Total duration 43s
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
29s
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#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: lib/puppet/type/rabbitmq_policy.rb#L129
Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
Puppet / Static validations
Process completed with exit code 1.