Skip to content

Implement Ceph multiple pools and tests #127

Implement Ceph multiple pools and tests

Implement Ceph multiple pools and tests #127

Triggered via pull request December 23, 2024 15:01
Status Success
Total duration 22s
Artifacts

rubocop.yml

on: pull_request
runner / rubocop
13s
runner / rubocop
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
runner / rubocop: tests/libvirt/models/compute/server_tests.rb#L4
[rubocop] reported by reviewdog 🐶 Use a guard clause (`return true if path == '/etc/foreman/ceph.conf'`) instead of wrapping the code inside a conditional expression. Raw Output: tests/libvirt/models/compute/server_tests.rb:4:5: C: Style/GuardClause: Use a guard clause (`return true if path == '/etc/foreman/ceph.conf'`) instead of wrapping the code inside a conditional expression.
runner / rubocop: tests/libvirt/models/compute/server_tests.rb#L5
[rubocop] reported by reviewdog 🐶 Redundant `return` detected. Raw Output: tests/libvirt/models/compute/server_tests.rb:5:7: C: Style/RedundantReturn: Redundant `return` detected.
runner / rubocop: tests/libvirt/models/compute/server_tests.rb#L7
[rubocop] reported by reviewdog 🐶 Redundant `return` detected. Raw Output: tests/libvirt/models/compute/server_tests.rb:7:7: C: Style/RedundantReturn: Redundant `return` detected.
runner / rubocop: tests/libvirt/models/compute/server_tests.rb#L12
[rubocop] reported by reviewdog 🐶 Use a guard clause (`return RealFile.readlines(path) unless path == '/etc/foreman/ceph.conf'`) instead of wrapping the code inside a conditional expression. Raw Output: tests/libvirt/models/compute/server_tests.rb:12:5: C: Style/GuardClause: Use a guard clause (`return RealFile.readlines(path) unless path == '/etc/foreman/ceph.conf'`) instead of wrapping the code inside a conditional expression.
runner / rubocop: tests/libvirt/models/compute/server_tests.rb#L13
[rubocop] reported by reviewdog 🐶 Redundant `return` detected. Raw Output: tests/libvirt/models/compute/server_tests.rb:13:7: C: Style/RedundantReturn: Redundant `return` detected.
runner / rubocop: tests/libvirt/models/compute/server_tests.rb#L22
[rubocop] reported by reviewdog 🐶 Redundant `return` detected. Raw Output: tests/libvirt/models/compute/server_tests.rb:22:7: C: Style/RedundantReturn: Redundant `return` detected.
runner / rubocop: tests/libvirt/models/compute/server_tests.rb#L141
[rubocop] reported by reviewdog 🐶 Trailing whitespace detected. Raw Output: tests/libvirt/models/compute/server_tests.rb:141:1: C: Layout/TrailingWhitespace: Trailing whitespace detected.