Skip to content

Commit

Permalink
Add small comment for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontedor committed Apr 30, 2018
1 parent 00ed7cc commit 796f011
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
indices.get_settings:
index: "copy-settings-target"

# settings should be copied
- match: { copy-settings-target.settings.index.merge.scheduler.max_merge_count: "4" }
- match: { copy-settings-target.settings.index.merge.scheduler.max_thread_count: "2" }
- match: { copy-settings-target.settings.index.blocks.write: "true" }
Expand Down Expand Up @@ -86,6 +87,7 @@
indices.get_settings:
index: "no-copy-settings-target"

# only the request setting should be copied
- is_false: no-copy-settings-target.settings.index.merge.scheduler.max_merge_count
- match: { no-copy-settings-target.settings.index.merge.scheduler.max_thread_count: "2" }
- is_false: no-copy-settings-target.settings.index.blocks.write
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
indices.get_settings:
index: "copy-settings-target"

# settings should be copied
- match: { copy-settings-target.settings.index.merge.scheduler.max_merge_count: "4" }
- match: { copy-settings-target.settings.index.merge.scheduler.max_thread_count: "2" }
- match: { copy-settings-target.settings.index.blocks.write: "true" }
Expand Down Expand Up @@ -90,6 +91,7 @@
indices.get_settings:
index: "no-copy-settings-target"

# only the request setting should be copied
- is_false: no-copy-settings-target.settings.index.merge.scheduler.max_merge_count
- match: { no-copy-settings-target.settings.index.merge.scheduler.max_thread_count: "2" }
- is_false: no-copy-settings-target.settings.index.blocks.write
Expand Down

0 comments on commit 796f011

Please sign in to comment.