Skip to content

Commit 799ec1c

Browse files
committed
Revert method implementations
This commit fixes binary breaking changes to methods as a result of backporting changes in b183504 from 6.x
1 parent e3e4a1e commit 799ec1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Nest/Modules/SnapshotAndRestore/Repositories/S3Repository.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,13 @@ public S3RepositorySettingsDescriptor() { }
229229
public S3RepositorySettingsDescriptor SecretKey(string secretKey) => Assign(a => a.SecretKey = secretKey);
230230

231231
/// <inheritdoc cref="IS3RepositorySettings.ConcurrentStreams"/>
232-
public S3RepositorySettingsDescriptor ConcurrentStreams(int? concurrentStreams) => Assign(a => a.ConcurrentStreams = concurrentStreams);
232+
public S3RepositorySettingsDescriptor ConcurrentStreams(int concurrentStreams) => Assign(a => a.ConcurrentStreams = concurrentStreams);
233233

234234
/// <inheritdoc cref="IS3RepositorySettings.ChunkSize"/>
235235
public S3RepositorySettingsDescriptor ChunkSize(string chunkSize) => Assign(a => a.ChunkSize = chunkSize);
236236

237237
/// <inheritdoc cref="IS3RepositorySettings.Compress"/>
238-
public S3RepositorySettingsDescriptor Compress(bool? compress = true) => Assign(a => a.Compress = compress);
238+
public S3RepositorySettingsDescriptor Compress(bool compress = true) => Assign(a => a.Compress = compress);
239239

240240
/// <inheritdoc cref="IS3RepositorySettings.ServerSideEncryption"/>
241241
public S3RepositorySettingsDescriptor ServerSideEncryption(bool? serverSideEncryption = true) =>

0 commit comments

Comments
 (0)