Remove Settings.settingsBuilder (#23575)
In this repository, `Settings.builder` is used everywhere although it does exactly same as `Settings.settingsBuilder`. With the reference of the commit 42526ac28e
, I think mistakenly this `Settings.settingsBuilder` remains in.
This commit is contained in:
parent
8e04561c0d
commit
8b6d521037
|
@ -179,7 +179,7 @@ Example using Java:
|
||||||
[source,java]
|
[source,java]
|
||||||
----
|
----
|
||||||
client.admin().cluster().preparePutRepository("my_backup_java1")
|
client.admin().cluster().preparePutRepository("my_backup_java1")
|
||||||
.setType("azure").setSettings(Settings.settingsBuilder()
|
.setType("azure").setSettings(Settings.builder()
|
||||||
.put(Storage.CONTAINER, "backup-container")
|
.put(Storage.CONTAINER, "backup-container")
|
||||||
.put(Storage.CHUNK_SIZE, new ByteSizeValue(32, ByteSizeUnit.MB))
|
.put(Storage.CHUNK_SIZE, new ByteSizeValue(32, ByteSizeUnit.MB))
|
||||||
).get();
|
).get();
|
||||||
|
|
Loading…
Reference in New Issue