forked from TrueCloudLab/frostfs-sdk-java
parent
388428af76
commit
59356180d5
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public class ContainerExample {
|
|||
FrostFSClient frostFSClient = new FrostFSClient(clientSettings);
|
||||
|
||||
// Create container
|
||||
var placementPolicy = new PlacementPolicy(new Replica[]{new Replica(1)}, true);
|
||||
var placementPolicy = new PlacementPolicy(new Replica[]{new Replica(1)}, Boolean.TRUE);
|
||||
var containerId = frostFSClient.createContainer(new Container(BasicAcl.PUBLIC_RW, placementPolicy));
|
||||
|
||||
// Get container
|
||||
|
|
Loading…
Reference in a new issue