remove transportLayer check from Operation class
This commit is contained in:
parent
52a6cf8641
commit
77ec6925c7
|
@ -382,10 +382,10 @@ public abstract class Operation {
|
|||
}
|
||||
|
||||
protected TransportManager getTransport(MyFile myFile) {
|
||||
if(Objects.isNull(transport)) {
|
||||
// if(Objects.isNull(transport)) {
|
||||
TransportManagerFactory tmf= new TransportManagerFactory(server, user, password);
|
||||
transport=tmf.getTransport(backendType, myFile.getGcubeMemoryType(), dbNames, myFile.getWriteConcern(), myFile.getReadPreference());
|
||||
}
|
||||
// }
|
||||
return transport;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue