From ea36c29c323af5b5c95cdadfa9f5eec479fc43b2 Mon Sep 17 00:00:00 2001
From: Lucas Nussbaum <lucas.nussbaum@loria.fr>
Date: Thu, 17 May 2018 06:41:49 +0200
Subject: [PATCH] [dev/oar-properties] fix Ruby warning

---
 generators/oar-properties/lib/lib-oar-properties.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generators/oar-properties/lib/lib-oar-properties.rb b/generators/oar-properties/lib/lib-oar-properties.rb
index b4394edf51..bf605286b1 100755
--- a/generators/oar-properties/lib/lib-oar-properties.rb
+++ b/generators/oar-properties/lib/lib-oar-properties.rb
@@ -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)
-- 
GitLab