mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Java client: fix passing replication value
This commit is contained in:
parent
f37a4cbd0f
commit
2d237f7b50
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue