Commit 7d2b919c authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Shove openstack stats into the webtask if one was specified. So the web

interface gets them via the webtask, otherwise they go into the instance
parent 7d113405
......@@ -3399,7 +3399,12 @@ sub DoOpenstack()
if ($debug) {
print $response->value() . "\n";
$instance->Update({"openstack_utilization" => $response->value()});
if (defined($webtask)) {
else {
$instance->Update({"openstack_utilization" => $response->value()});
print STDERR $errmsg . "\n";
Supports Markdown
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