Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ea36c29c authored by Lucas Nussbaum's avatar Lucas Nussbaum
Browse files

[dev/oar-properties] fix Ruby warning

parent c3c38d4d
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,7 @@ def diff_properties(type, properties_oar, properties_ref)
properties_ref.delete('state')
elsif type == 'default' && properties_ref.size == 1
# For dead nodes, when information is missing from the reference-repo, only enforce the 'state' property and ignore other differences.
return HashDiff.diff('state' => properties_oar['state'], 'state' => properties_ref['state'])
return HashDiff.diff({'state' => properties_oar['state']}, {'state' => properties_ref['state']})
end
return HashDiff.diff(properties_oar, properties_ref)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment