Java client: fix passing replication value

This commit is contained in:
Chris Lu 2021-05-21 01:43:25 -07:00
parent f37a4cbd0f
commit 2d237f7b50

View file

@ -39,7 +39,7 @@ public class SeaweedOutputStream extends OutputStream {
} }
public SeaweedOutputStream(FilerClient filerClient, final String fullpath, final String replication) { public SeaweedOutputStream(FilerClient filerClient, final String fullpath, final String replication) {
this(filerClient, fullpath, null, 0, 8 * 1024 * 1024, "000"); this(filerClient, fullpath, null, 0, 8 * 1024 * 1024, replication);
} }
public SeaweedOutputStream(FilerClient filerClient, final String path, FilerProto.Entry.Builder entry, public SeaweedOutputStream(FilerClient filerClient, final String path, FilerProto.Entry.Builder entry,