Skip to content

Commit 67e7724

Browse files
author
Kees van Veen
committed
more following rubocob
1 parent dd03bba commit 67e7724

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/models/foreman_fog_proxmox/proxmox_volumes.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ def update_extra_volumes_definitions(data_in)
3333
# Start to look into the data that needs to be updated
3434
volumes_attributes = {}
3535
value.each do |index, dev_specs|
36-
3736
# Only if this contains only 1 set like: {"size"=>"xxGB"}
3837
if #{index} > 0 && dev_specs.keys.count == 1
39-
4038
# Copy the data from the first entry
4139
newid = "#{value['0']['controller']}#{index}"
4240
newdev = {
@@ -53,7 +51,7 @@ def update_extra_volumes_definitions(data_in)
5351
volumes_attributes[index] = dev_specs
5452
end
5553
end
56-
# now add the (reworked) data back
54+
# Now add the (reworked) data back
5755
new_data['volumes_attributes'] = volumes_attributes
5856
end
5957
end

0 commit comments

Comments
 (0)