B #4646: change info filter to default one (#4647)

This commit is contained in:
Alejandro Huertas Herrero authored and GitHub committed 2020-05-04 17:21:16 +02:00
1 parent ddd263744e
commit 30ea2bbeb4
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ module OpenNebula
DOCUMENT_TYPE = 100
def initialize(client, user_id = -1)
def initialize(client, user_id = -2)
super(client, user_id)
end
+2 -2
View File
@@ -57,12 +57,12 @@ module Migrator
json = JSON.parse(doc.xpath('//BODY').text)
json['networks'] = json['custom_attrs']
json['networks'] = json['custom_attrs'] || {}
json['custom_attrs'] = {}
# services
if row[:type] == 100
json['networks_values'] = json['custom_attrs_values']
json['networks_values'] = json['custom_attrs_values'] || {}
json['custom_attrs_values'] = {}
# remove unneeded VM information