Skip to content

Commit cc5b2d8

Browse files
committed
fix previous commit only containing half the rename :(
1 parent 54a6ab9 commit cc5b2d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Nest/Document/Multiple/Reindex/ReindexObservable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private void Reindex(IObserver<IReindexResponse<T>> observer)
4949
var toIndex = this._reindexRequest.To.Resolve(this._connectionSettings);
5050
toIndex.ThrowIfNullOrEmpty(nameof(toIndex));
5151

52-
if (!this._reindexRequest.OmitCreateIndex)
52+
if (!this._reindexRequest.OmitIndexCreation)
5353
this.CreateIndex(fromIndex, toIndex);
5454

5555
var scroll = this._reindexRequest.Scroll ?? TimeSpan.FromMinutes(2);

src/Nest/Document/Multiple/Reindex/ReindexRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public interface IReindexRequest
3939
public class ReindexRequest : IReindexRequest
4040
{
4141
/// <inheritdoc/>
42-
public bool OmitCreateIndex { get; set; }
42+
public bool OmitIndexCreation { get; set; }
4343
/// <inheritdoc/>
4444
public IndexName To { get; set; }
4545
/// <inheritdoc/>

0 commit comments

Comments
 (0)