Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 505df32e authored by Simon Delamare's avatar Simon Delamare
Browse files

[generator] Handle OAR ppty cluster_priority (from Ref API's cluster age by default)

parent 1fc8fb8f
Branches
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@ module Grid5000
h['wattmeter'] = (properties['monitoring']['wattmeter'].is_a?(String) and properties['monitoring']['wattmeter'].upcase == "SHARED") ? "SHARED" \
: properties['monitoring']['wattmeter'] ? "YES" : "NO"
h['rconsole'] = properties['monitoring']['rconsole'] == false ? "NO" : "YES"
h['cluster_priority'] = cluster.properties['priority'] || Time.httpdate(cluster.properties['created_at']).strftime("%Y%m")
h
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment