CLOUDSTACK-8467: set version to unknown instead of null

This commit is contained in:
Abhinandan Prateek 2015-05-13 12:28:50 +05:30
parent b8e82a97b6
commit 60b6dc1368

View File

@ -182,10 +182,7 @@ public class UsageManagerImpl extends ManagerBase implements UsageManager, Runna
final Class<?> c = UsageServer.class;
_version = c.getPackage().getImplementationVersion();
if (_version == null) {
// TODO
// throw new CloudRuntimeException("Unable to find the implementation version of this usage server");
}
if (_version == null) _version="unknown";
if (s_logger.isInfoEnabled()) {
s_logger.info("Implementation Version is " + _version);