mirror of https://github.com/apache/cloudstack.git
bug CS-15954: Corrected return status of get usage in vpc_netusage
status CS-15954: resolved fixed
This commit is contained in:
parent
92513db2ba
commit
6246191084
|
|
@ -569,7 +569,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
|||
s_logger.error("Unable to execute NetworkUsage command on DomR (" + privateIp + "), domR may not be ready yet. failure due to "
|
||||
+ VmwareHelper.getExceptionMessage(e), e);
|
||||
}
|
||||
return null;
|
||||
return new NetworkUsageAnswer(cmd, "success", 0L, 0L);
|
||||
}
|
||||
|
||||
private SetStaticRouteAnswer execute(SetStaticRouteCommand cmd) {
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ get_usage () {
|
|||
done
|
||||
rm /root/removedVifs
|
||||
fi
|
||||
return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
get_vpn_usage () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue