diff --git a/data/grid5000/sites/grenoble/clusters/dahu/dahu.json b/data/grid5000/sites/grenoble/clusters/dahu/dahu.json index 416dab1e51ff3ded02b3a566bb1fd1c95a2692cd..4c65a39bb6221d6683f0bb4d38a1af864bda96ca 100644 --- a/data/grid5000/sites/grenoble/clusters/dahu/dahu.json +++ b/data/grid5000/sites/grenoble/clusters/dahu/dahu.json @@ -1,5 +1,5 @@ { - "created_at": "Thu, 22 Mar 2018 11:00:00 GMT", + "created_at": "Thu, 22 Mar 2018 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge C6420", "priority": "201800", diff --git a/data/grid5000/sites/grenoble/clusters/yeti/yeti.json b/data/grid5000/sites/grenoble/clusters/yeti/yeti.json index 6ec47d99d00e19486860d8f214b915fa8a4efd3a..dd5edeaddd3d52a0c98422197cd5c5f1b647cd56 100644 --- a/data/grid5000/sites/grenoble/clusters/yeti/yeti.json +++ b/data/grid5000/sites/grenoble/clusters/yeti/yeti.json @@ -1,5 +1,5 @@ { - "created_at": "Tue, 16 Jan 2018 15:00:00 GMT", + "created_at": "Tue, 16 Jan 2018 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R940", "queues": [ diff --git a/data/grid5000/sites/lille/clusters/chetemi/chetemi.json b/data/grid5000/sites/lille/clusters/chetemi/chetemi.json index d5b78b31ed96c7801342e83edaf6bf4e78d5f82e..38162ae3ec6c09ed4aedaa8a2961a0b1666965d4 100644 --- a/data/grid5000/sites/lille/clusters/chetemi/chetemi.json +++ b/data/grid5000/sites/lille/clusters/chetemi/chetemi.json @@ -1,5 +1,5 @@ { - "created_at": "Wed, 30 Nov 2016 23:00:00 GMT", + "created_at": "Thu, 01 Dec 2016 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R630", "priority": "201650", diff --git a/data/grid5000/sites/lille/clusters/chiclet/chiclet.json b/data/grid5000/sites/lille/clusters/chiclet/chiclet.json index d3bb2fac94ff49b75dbf3e5df5b8336a24d05340..3435d67a200deedebc6ddfd7b8932982d4db01ee 100644 --- a/data/grid5000/sites/lille/clusters/chiclet/chiclet.json +++ b/data/grid5000/sites/lille/clusters/chiclet/chiclet.json @@ -1,5 +1,5 @@ { - "created_at": "Sun, 05 Aug 2018 22:00:00 GMT", + "created_at": "Mon, 06 Aug 2018 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R7425", "priority": "201850", diff --git a/data/grid5000/sites/lille/clusters/chifflet/chifflet.json b/data/grid5000/sites/lille/clusters/chifflet/chifflet.json index 84c31597cc1bd5561ee60b6c05ebf7d13ed5a02a..5324770851dfb258638bae348c98893dc94e42f8 100644 --- a/data/grid5000/sites/lille/clusters/chifflet/chifflet.json +++ b/data/grid5000/sites/lille/clusters/chifflet/chifflet.json @@ -1,5 +1,5 @@ { - "created_at": "Wed, 30 Nov 2016 23:00:00 GMT", + "created_at": "Thu, 01 Dec 2016 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R730", "priority": "201670", diff --git a/data/grid5000/sites/lille/clusters/chifflot/chifflot.json b/data/grid5000/sites/lille/clusters/chifflot/chifflot.json index bd7b779851453d9ab15204a79876cb98305cba53..467c8f73bb0dbef3156a4a42684c0155b54c9831 100644 --- a/data/grid5000/sites/lille/clusters/chifflot/chifflot.json +++ b/data/grid5000/sites/lille/clusters/chifflot/chifflot.json @@ -1,5 +1,5 @@ { - "created_at": "Tue, 31 Jul 2018 22:00:00 GMT", + "created_at": "Wed, 01 Aug 2018 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R740", "priority": "201870", diff --git a/data/grid5000/sites/luxembourg/clusters/granduc/granduc.json b/data/grid5000/sites/luxembourg/clusters/granduc/granduc.json index 4f9f5b66b1e7f67c2935887df26678ef54167941..7e07025f246c61bb6a931fc51ad651873715770a 100644 --- a/data/grid5000/sites/luxembourg/clusters/granduc/granduc.json +++ b/data/grid5000/sites/luxembourg/clusters/granduc/granduc.json @@ -1,5 +1,5 @@ { - "created_at": "Wed, 30 Nov 2011 23:00:00 GMT", + "created_at": "Thu, 01 Dec 2011 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge 1950", "queues": [ diff --git a/data/grid5000/sites/luxembourg/clusters/petitprince/petitprince.json b/data/grid5000/sites/luxembourg/clusters/petitprince/petitprince.json index 41c96b6cb307905d6a141bd6a88e4732e6170af8..8a60605b6e19bfd26a4b6d847679efc553e81ab3 100644 --- a/data/grid5000/sites/luxembourg/clusters/petitprince/petitprince.json +++ b/data/grid5000/sites/luxembourg/clusters/petitprince/petitprince.json @@ -1,5 +1,5 @@ { - "created_at": "Mon, 09 Sep 2013 22:00:00 GMT", + "created_at": "Tue, 10 Sep 2013 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge M620", "queues": [ diff --git a/data/grid5000/sites/lyon/clusters/hercule/hercule.json b/data/grid5000/sites/lyon/clusters/hercule/hercule.json index 74454b161df6221e3c7fa4468c316a441c87e5b5..33b1ffcc5ca47c95afe013ac84aa2e5ef8809d86 100644 --- a/data/grid5000/sites/lyon/clusters/hercule/hercule.json +++ b/data/grid5000/sites/lyon/clusters/hercule/hercule.json @@ -1,5 +1,5 @@ { - "created_at": "Tue, 02 Oct 2012 12:00:00 GMT", + "created_at": "Tue, 02 Oct 2012 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge C6220", "priority": "201299", diff --git a/data/grid5000/sites/lyon/clusters/nova/nova.json b/data/grid5000/sites/lyon/clusters/nova/nova.json index ea9783c9976825d634c915e76542fcb1174ac7b6..f0cd7e24062b7069f6f0acd36786b273027fe2fa 100644 --- a/data/grid5000/sites/lyon/clusters/nova/nova.json +++ b/data/grid5000/sites/lyon/clusters/nova/nova.json @@ -1,5 +1,5 @@ { - "created_at": "Thu, 01 Dec 2016 12:00:00 GMT", + "created_at": "Thu, 01 Dec 2016 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R430", "priority": "201700", diff --git a/data/grid5000/sites/lyon/clusters/orion/orion.json b/data/grid5000/sites/lyon/clusters/orion/orion.json index 894183c6138e48a925fdff7b1830ca62550397c6..571b1ed31e8f2362006f758cb86c0fb19c2d4747 100644 --- a/data/grid5000/sites/lyon/clusters/orion/orion.json +++ b/data/grid5000/sites/lyon/clusters/orion/orion.json @@ -1,5 +1,5 @@ { - "created_at": "Fri, 14 Sep 2012 12:00:00 GMT", + "created_at": "Fri, 14 Sep 2012 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R720", "priority": "201299", diff --git a/data/grid5000/sites/lyon/clusters/sagittaire/sagittaire.json b/data/grid5000/sites/lyon/clusters/sagittaire/sagittaire.json index fa088ddf4d01be9fbd29d4e9b935a816629fc82a..dea4f1d88449d286fbc4ae194e674dd95b6997b5 100644 --- a/data/grid5000/sites/lyon/clusters/sagittaire/sagittaire.json +++ b/data/grid5000/sites/lyon/clusters/sagittaire/sagittaire.json @@ -1,5 +1,5 @@ { - "created_at": "Sat, 01 Jul 2006 12:00:00 GMT", + "created_at": "Sat, 01 Jul 2006 00:00:00 GMT", "kavlan": true, "model": "Sun Fire V20z", "priority": "201899", diff --git a/data/grid5000/sites/lyon/clusters/taurus/taurus.json b/data/grid5000/sites/lyon/clusters/taurus/taurus.json index 0d159f7f56454adb8c38cda80be40ffe4436e2d0..5df6f21b7517c253a6fc4e008cd7ea6954a59fc2 100644 --- a/data/grid5000/sites/lyon/clusters/taurus/taurus.json +++ b/data/grid5000/sites/lyon/clusters/taurus/taurus.json @@ -1,5 +1,5 @@ { - "created_at": "Fri, 14 Sep 2012 12:00:00 GMT", + "created_at": "Fri, 14 Sep 2012 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R720", "queues": [ diff --git a/data/grid5000/sites/nancy/clusters/graffiti/graffiti.json b/data/grid5000/sites/nancy/clusters/graffiti/graffiti.json index 6953ec4a18fa82430017163385e055857bbed986..2e71409660f4a95efd90d95cc23ca44b6ab7d05b 100644 --- a/data/grid5000/sites/nancy/clusters/graffiti/graffiti.json +++ b/data/grid5000/sites/nancy/clusters/graffiti/graffiti.json @@ -1,5 +1,5 @@ { - "created_at": "Thu, 06 Jun 2019 22:00:00 GMT", + "created_at": "Fri, 07 Jun 2019 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge T640", "queues": [ diff --git a/data/grid5000/sites/nancy/clusters/graoully/graoully.json b/data/grid5000/sites/nancy/clusters/graoully/graoully.json index 5f4fbcfc36544661c3360565d221cee4ca8f8764..4eef9c604bfe4a37459f7f32c0ce288e3243692c 100644 --- a/data/grid5000/sites/nancy/clusters/graoully/graoully.json +++ b/data/grid5000/sites/nancy/clusters/graoully/graoully.json @@ -1,5 +1,5 @@ { - "created_at": "Sun, 03 Jan 2016 23:00:00 GMT", + "created_at": "Mon, 04 Jan 2016 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R630", "queues": [ diff --git a/data/grid5000/sites/nancy/clusters/graphique/graphique.json b/data/grid5000/sites/nancy/clusters/graphique/graphique.json index 2bc1c0a5972eee2ebd6ed7b0b2f37b7f8bc76a8e..d09ecbf265eb5d6b545de512c81de955005766d6 100644 --- a/data/grid5000/sites/nancy/clusters/graphique/graphique.json +++ b/data/grid5000/sites/nancy/clusters/graphique/graphique.json @@ -1,5 +1,5 @@ { - "created_at": "Tue, 12 May 2015 17:00:00 GMT", + "created_at": "Tue, 12 May 2015 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R720", "queues": [ diff --git a/data/grid5000/sites/nancy/clusters/graphite/graphite.json b/data/grid5000/sites/nancy/clusters/graphite/graphite.json index 77d81ff1417083ffa84f2a4bef26999802e9a383..bdcc489b919406214d173962ef9ec6c2ba488de1 100644 --- a/data/grid5000/sites/nancy/clusters/graphite/graphite.json +++ b/data/grid5000/sites/nancy/clusters/graphite/graphite.json @@ -1,5 +1,5 @@ { - "created_at": "Wed, 04 Dec 2013 23:00:00 GMT", + "created_at": "Thu, 05 Dec 2013 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R720", "queues": [ diff --git a/data/grid5000/sites/nancy/clusters/grcinq/grcinq.json b/data/grid5000/sites/nancy/clusters/grcinq/grcinq.json index 93a733be376a03081d84898331fff9a24514c261..b6c45dd2dd58aab70c654cb0abd422520961b2ee 100644 --- a/data/grid5000/sites/nancy/clusters/grcinq/grcinq.json +++ b/data/grid5000/sites/nancy/clusters/grcinq/grcinq.json @@ -1,5 +1,5 @@ { - "created_at": "Mon, 08 Apr 2013 22:00:00 GMT", + "created_at": "Tue, 09 Apr 2013 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge C6220", "queues": [ diff --git a/data/grid5000/sites/nancy/clusters/grele/grele.json b/data/grid5000/sites/nancy/clusters/grele/grele.json index 07e1ccf27265f5f0f4d7ad7b25b435c838d19158..5efad864db9bd026c9d4ad902284f8ea9e90640e 100644 --- a/data/grid5000/sites/nancy/clusters/grele/grele.json +++ b/data/grid5000/sites/nancy/clusters/grele/grele.json @@ -1,5 +1,5 @@ { - "created_at": "Sun, 25 Jun 2017 22:00:00 GMT", + "created_at": "Mon, 26 Jun 2017 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R730", "queues": [ diff --git a/data/grid5000/sites/nancy/clusters/grimani/grimani.json b/data/grid5000/sites/nancy/clusters/grimani/grimani.json index 9a6126904e4648c8770261985051cad521772240..3453c69b69f2e4c3c070d40f904b96fa5dbfd7a8 100644 --- a/data/grid5000/sites/nancy/clusters/grimani/grimani.json +++ b/data/grid5000/sites/nancy/clusters/grimani/grimani.json @@ -1,5 +1,5 @@ { - "created_at": "Mon, 29 Aug 2016 22:00:00 GMT", + "created_at": "Tue, 30 Aug 2016 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R730", "queues": [ diff --git a/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json b/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json index 08010046c24d19d21d6df9bfc9c46c881bc37cd9..a1038a60dda2d635cea1a0d16ffc170bfb65e6b1 100644 --- a/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json +++ b/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json @@ -1,5 +1,5 @@ { - "created_at": "Thu, 21 Jan 2016 23:00:00 GMT", + "created_at": "Fri, 22 Jan 2016 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R630", "queues": [ diff --git a/data/grid5000/sites/nancy/clusters/grisou/grisou.json b/data/grid5000/sites/nancy/clusters/grisou/grisou.json index a1b3d1c7135d7b5a9a6ae8ae81e824d4e0274c77..c9b008ca89283a913b85bbea276efe39b28ff4ef 100644 --- a/data/grid5000/sites/nancy/clusters/grisou/grisou.json +++ b/data/grid5000/sites/nancy/clusters/grisou/grisou.json @@ -1,5 +1,5 @@ { - "created_at": "Sun, 03 Jan 2016 23:00:00 GMT", + "created_at": "Mon, 04 Jan 2016 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R630", "priority": "201201", diff --git a/data/grid5000/sites/nancy/clusters/grvingt/grvingt.json b/data/grid5000/sites/nancy/clusters/grvingt/grvingt.json index 7df195eb10be1037ea63a5b83c7d27fbee380021..296db226fe8777e7829add8a894d931d532cf936 100644 --- a/data/grid5000/sites/nancy/clusters/grvingt/grvingt.json +++ b/data/grid5000/sites/nancy/clusters/grvingt/grvingt.json @@ -1,5 +1,5 @@ { - "created_at": "Tue, 10 Apr 2018 22:00:00 GMT", + "created_at": "Wed, 11 Apr 2018 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge C6420", "queues": [ diff --git a/data/grid5000/sites/nantes/clusters/econome/econome.json b/data/grid5000/sites/nantes/clusters/econome/econome.json index 76f58b4e26e7195a872adb4c69e83b0a32894b39..0e50c521aef0be6a3419f6ca1fcbf1913c1fa0cb 100644 --- a/data/grid5000/sites/nantes/clusters/econome/econome.json +++ b/data/grid5000/sites/nantes/clusters/econome/econome.json @@ -1,5 +1,5 @@ { - "created_at": "Tue, 15 Apr 2014 22:00:00 GMT", + "created_at": "Wed, 16 Apr 2014 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge C6220", "queues": [ diff --git a/data/grid5000/sites/nantes/clusters/ecotype/ecotype.json b/data/grid5000/sites/nantes/clusters/ecotype/ecotype.json index 3906407eb10a82e9d306ff232a04ecf94c6438e4..b234310cba13c8a7c08c513f933a08d80dedfc0a 100644 --- a/data/grid5000/sites/nantes/clusters/ecotype/ecotype.json +++ b/data/grid5000/sites/nantes/clusters/ecotype/ecotype.json @@ -1,5 +1,5 @@ { - "created_at": "Mon, 16 Oct 2017 17:40:55 GMT", + "created_at": "Mon, 16 Oct 2017 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R630", "queues": [ diff --git a/data/grid5000/sites/rennes/clusters/paranoia/paranoia.json b/data/grid5000/sites/rennes/clusters/paranoia/paranoia.json index 8a7fc86552af13b32b310db04c605abdbafcf6e8..86fc39a0bcbb22e7ed14dc1683c6a00e1c41982e 100644 --- a/data/grid5000/sites/rennes/clusters/paranoia/paranoia.json +++ b/data/grid5000/sites/rennes/clusters/paranoia/paranoia.json @@ -1,5 +1,5 @@ { - "created_at": "Thu, 20 Feb 2014 23:00:00 GMT", + "created_at": "Fri, 21 Feb 2014 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge C6220 II", "queues": [ diff --git a/data/grid5000/sites/rennes/clusters/parapide/parapide.json b/data/grid5000/sites/rennes/clusters/parapide/parapide.json index a45f694c111716c4959e10c13c6e65b4c8d10a1e..f3051e3a4b1085dadf6ca5719125c53ecc7f7419 100644 --- a/data/grid5000/sites/rennes/clusters/parapide/parapide.json +++ b/data/grid5000/sites/rennes/clusters/parapide/parapide.json @@ -1,5 +1,5 @@ { - "created_at": "Sun, 24 Jan 2010 23:00:00 GMT", + "created_at": "Mon, 25 Jan 2010 00:00:00 GMT", "kavlan": true, "model": "SUN FIRE X2270", "queues": [ diff --git a/data/grid5000/sites/rennes/clusters/parapluie/parapluie.json b/data/grid5000/sites/rennes/clusters/parapluie/parapluie.json index d9d25a22579c02a1363bd10c9b25e9bfe485923f..0f3f67c56d75f366520e4125a5027474a5565563 100644 --- a/data/grid5000/sites/rennes/clusters/parapluie/parapluie.json +++ b/data/grid5000/sites/rennes/clusters/parapluie/parapluie.json @@ -1,5 +1,5 @@ { - "created_at": "Mon, 01 Nov 2010 23:00:00 GMT", + "created_at": "Tue, 02 Nov 2010 00:00:00 GMT", "kavlan": true, "model": "HP ProLiant DL165 G7", "queues": [ diff --git a/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json b/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json index 7d687d4ae4d9fc00046282925cf5d6374831dee8..a35afb80d325f6282fe26360de20caa704c3e92e 100644 --- a/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json +++ b/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json @@ -1,5 +1,5 @@ { - "created_at": "Mon, 12 Jan 2015 23:00:00 GMT", + "created_at": "Tue, 13 Jan 2015 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R630", "queues": [ diff --git a/data/grid5000/sites/rennes/clusters/paravance/paravance.json b/data/grid5000/sites/rennes/clusters/paravance/paravance.json index 11d636f9dcd931ec46c85defd9fe65658d358050..67e1a6f033e457d42e2c31d9ebd58c7130bac1b7 100644 --- a/data/grid5000/sites/rennes/clusters/paravance/paravance.json +++ b/data/grid5000/sites/rennes/clusters/paravance/paravance.json @@ -1,5 +1,5 @@ { - "created_at": "Mon, 12 Jan 2015 23:00:00 GMT", + "created_at": "Tue, 13 Jan 2015 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R630", "queues": [ diff --git a/data/grid5000/sites/sophia/clusters/suno/suno.json b/data/grid5000/sites/sophia/clusters/suno/suno.json index f6d9a652fd9a2553ff3dcad74975af90fa878451..30c142b75ecf9393ac40303bd6b83396cb280aa3 100644 --- a/data/grid5000/sites/sophia/clusters/suno/suno.json +++ b/data/grid5000/sites/sophia/clusters/suno/suno.json @@ -1,5 +1,5 @@ { - "created_at": "Tue, 26 Jan 2010 23:00:00 GMT", + "created_at": "Wed, 27 Jan 2010 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge R410", "queues": [ diff --git a/data/grid5000/sites/sophia/clusters/uvb/uvb.json b/data/grid5000/sites/sophia/clusters/uvb/uvb.json index c1b9464e63d2cdedeb8e7df43b558513605f2b0c..98b5680969d86f956472ac0c7c5c3ba0290ad318 100644 --- a/data/grid5000/sites/sophia/clusters/uvb/uvb.json +++ b/data/grid5000/sites/sophia/clusters/uvb/uvb.json @@ -1,5 +1,5 @@ { - "created_at": "Mon, 03 Jan 2011 23:00:00 GMT", + "created_at": "Tue, 04 Jan 2011 00:00:00 GMT", "kavlan": true, "model": "Dell PowerEdge C6100", "queues": [ diff --git a/lib/refrepo/gen/reference-api.rb b/lib/refrepo/gen/reference-api.rb index a9c1c5afa24e1146e57e1a85733503ec8e6342fa..e2fc4237c51a1996eb15912461f0d4ca6516a9fd 100644 --- a/lib/refrepo/gen/reference-api.rb +++ b/lib/refrepo/gen/reference-api.rb @@ -95,7 +95,7 @@ def generate_reference_api grid_path = Pathname.new(refapi_path) grid_path.mkpath() - write_json(grid_path.join("#{global_hash['uid']}.json"), + write_json(grid_path.join("#{global_hash['uid']}.json"), global_hash.reject {|k, v| k == "sites" || k == "network_equipments" || k == "disk_vendor_model_mapping"}) end @@ -128,7 +128,7 @@ def generate_reference_api site_path = Pathname.new(refapi_path).join("sites", site_uid) site_path.mkpath() - write_json(site_path.join("#{site_uid}.json"), + write_json(site_path.join("#{site_uid}.json"), site.reject {|k, v| k == "clusters" || k == "networks" || k == "pdus" || k == "dom0" || k == "laptops" || k == "servers" }) # @@ -189,7 +189,7 @@ def generate_reference_api # On the previous version of this script, cluster["created_ad"] was generated from a Ruby Time. cluster["created_ad"] is now a Ruby Date at JSON import. # As Date.httpdate and Time.httpdate does not behave the same with timezone, it is converted here as a Ruby time. - cluster["created_at"] = Time.parse(cluster["created_at"].to_s).httpdate + cluster["created_at"] = Date.parse(cluster["created_at"].to_s).httpdate cluster_path = Pathname.new(refapi_path).join("sites", site_uid, "clusters", cluster_uid) cluster_path.mkpath() @@ -224,7 +224,7 @@ def generate_reference_api # Delete keys #raise 'node["storage_devices"] is nil' if node["storage_devices"].nil? - Hash(node["storage_devices"]).keys.each { |key| + Hash(node["storage_devices"]).keys.each { |key| node["storage_devices"][key].delete("timeread") if node["storage_devices"][key].key?("timeread") node["storage_devices"][key].delete("timewrite") if node["storage_devices"][key].key?("timewrite") }