fix: fall back to lease file when DHCPLeases API is empty #190
+140
−4
Annotations
3 warnings
|
rubocop:
minitests/server/leasefile_fallback_test.rb#L68
[rubocop] reported by reviewdog 🐶
Use `Process.uid.zero?` instead of `Process.uid == 0`.
Raw Output:
minitests/server/leasefile_fallback_test.rb:68:54: C: Style/NumericPredicate: Use `Process.uid.zero?` instead of `Process.uid == 0`.
|
|
rubocop:
lib/fog/libvirt/models/compute/server.rb#L529
[rubocop] reported by reviewdog 🐶
Replace class var @@leasefile_fallback_warned with a class instance var.
Raw Output:
lib/fog/libvirt/models/compute/server.rb:529:15: C: Style/ClassVars: Replace class var @@leasefile_fallback_warned with a class instance var.
|
|
rubocop:
lib/fog/libvirt/models/compute/server.rb#L501
[rubocop] reported by reviewdog 🐶
Do not use parallel assignment.
Raw Output:
lib/fog/libvirt/models/compute/server.rb:501:15: C: Style/ParallelAssignment: Do not use parallel assignment.
|
Loading