1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

L #-: Remove oneimage from rubocop exclusion list

This commit is contained in:
Tino Vazquez 2020-02-24 17:56:38 +01:00
parent ed5d53f83d
commit 6fbb7467df
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE
2 changed files with 2 additions and 3 deletions

View File

@ -333,7 +333,6 @@ AllCops:
- src/cli/one_helper/oneacct_helper.rb
- src/cli/one_helper/onequota_helper.rb
- src/cli/one_helper/oneuser_helper.rb
- src/cli/one_helper/oneimage_helper.rb
- src/cli/one_helper/onemarketapp_helper.rb
- src/cli/one_helper/onegroup_helper.rb
- src/cli/one_helper/onevnet_helper.rb

View File

@ -115,10 +115,10 @@ class AliasSDNATDriver < VNMMAD::VNMDriver
if activate
# create mapping rules
# rubocop:disable Metrics/LineLength
# rubocop:disable Layout/LineLength
# iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to-source 10.0.0.41
# iptables -t nat -A PREROUTING -d 10.0.0.41 -j DNAT --to-destination 192.168.0.250
# rubocop:enable Metrics/LineLength
# rubocop:enable Layout/LineLength
nic_aliases.each do |alias_ip, parent_id|
parent_ip = nic_parents[parent_id]