Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f7b9f912 authored by Albin PETIT's avatar Albin PETIT
Browse files

[refrepo-network] change WARNING to ERROR for nodeset

parent 4b6b37f0
No related branches found
No related tags found
No related merge requests found
Pipeline #655991 passed
......@@ -320,7 +320,7 @@ def generate_dot(netnodes, links, site)
# group
nodeslinks = nodeslinks.group_by { |l| [ l['target_cluster'], l['attachments'] ] }.to_a.map { |e| e[1].map! { |f| f['target_node'] } ; e }
# factor
system("which nodeset > /dev/null") or raise "WARNING: command nodeset absent, please install clustershell"
system("which nodeset > /dev/null") or raise "ERROR: command nodeset absent, please install clustershell"
nodeslinks.map! { |e| e[1] = sh("echo #{e[1].uniq.join(' ')}|nodeset -f"); e }
......
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