convert from storage-core memoryType to storage-wrapper memoryType
This commit is contained in:
parent
b63ad74730
commit
9c493501f8
|
@ -340,7 +340,7 @@ public class StorageIDResolver {
|
||||||
* @return the storage client instance
|
* @return the storage client instance
|
||||||
*/
|
*/
|
||||||
protected static IClient getStorageClientInstance(MemoryType memory) {
|
protected static IClient getStorageClientInstance(MemoryType memory) {
|
||||||
if ((!Objects.isNull(storageManagerClient)) && (storageManagerClient.getGcubeMemoryType().equals(memory))) {
|
if ((!Objects.isNull(storageManagerClient)) && (storageManagerClient.getGcubeMemoryType().toString() == memory.toString())) {
|
||||||
LOG.debug("reusing the same storage-client object");
|
LOG.debug("reusing the same storage-client object");
|
||||||
return storageManagerClient;
|
return storageManagerClient;
|
||||||
}else {
|
}else {
|
||||||
|
|
Loading…
Reference in New Issue