Skip to content

Commit 96297ee

Browse files
abhinandanprateekagneya2001
authored andcommitted
CLOUDSTACK-8467: set version to unknown instead of null
1 parent 4215e91 commit 96297ee

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

usage/src/com/cloud/usage/UsageManagerImpl.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,7 @@ public boolean configure(String name, Map<String, Object> params) throws Configu
182182

183183
final Class<?> c = UsageServer.class;
184184
_version = c.getPackage().getImplementationVersion();
185-
if (_version == null) {
186-
// TODO
187-
// throw new CloudRuntimeException("Unable to find the implementation version of this usage server");
188-
}
185+
if (_version == null) _version="unknown";
189186

190187
if (s_logger.isInfoEnabled()) {
191188
s_logger.info("Implementation Version is " + _version);

0 commit comments

Comments
 (0)