HDDS-456. TestOzoneShell#init is breaking due to Null Pointer Exception. Contributed by Dinesh Chitlangia.
This commit is contained in:
parent
2886024ac3
commit
76a0fdfed9
|
@ -305,6 +305,9 @@ public final class OzoneManager extends ServiceRuntimeInfoImpl
|
|||
terminate(0);
|
||||
return null;
|
||||
default:
|
||||
if (argv == null) {
|
||||
argv = new String[]{};
|
||||
}
|
||||
StringUtils.startupShutdownMessage(OzoneManager.class, argv, LOG);
|
||||
return new OzoneManager(conf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue