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 static OzoneManager createOm(String[] argv,
|
||||
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
Block a user