CLOUDSTACK-8467: set version to unknown instead of null

This commit is contained in:
Abhinandan Prateek 2015-05-13 12:28:50 +05:30 committed by Abhinandan Prateek
parent 4215e91824
commit 96297eeb10
1 changed files with 1 additions and 4 deletions

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);