Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 270fb72c authored by Cyril Rohr's avatar Cyril Rohr Committed by Gaetan SIMO
Browse files

[admin] Fix generator to handle network_equipment tag.

parent 9e879096
......@@ -194,6 +194,9 @@ module G5K
def service(uid, *options, &block)
build_context(:services, uid, *options, &block)
end
def network_equipment(uid, *options, &block)
build_context(:network_equipments, uid, *options, &block)
end
def build_context(key, uid, *options, &block)
type = key.to_s.chop
uid = uid.to_s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment