Implement Ceph multiple pools and tests #127
Annotations
7 warnings
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Loading