mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-8467: set version to unknown instead of null
This commit is contained in:
parent
b8e82a97b6
commit
60b6dc1368
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user