Commit 37d19eb2 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Don't bail out if node isn't there on “gnt-node volumes”.

Reviewed-by: iustinp
parent e00fb268
......@@ -1209,6 +1209,9 @@ class LUQueryNodeVolumes(NoHooksLU):
output = []
for node in nodenames:
if node not in volumes or not volumes[node]:
continue
node_vols = volumes[node][:]
node_vols.sort(key=lambda vol: vol['dev'])
......
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