Commit d633f6a2 authored by David Johnson's avatar David Johnson

Fix the docker clientside fix in 7d654e59.

parent 27f330cb
......@@ -1008,9 +1008,12 @@ sub getDockerNetMemberIds($)
if ($code) {
return undef;
}
if (!ref($content) eq 'HASH') {
if (ref($content) eq 'ARRAY') {
$content = $content->[0];
}
if (ref($content) ne 'HASH') {
return undef;
}
if (!exists($content->{"Containers"})) {
return ();
}
......
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