Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cookbooks: fix bug in heap_size validator #2138

Merged
merged 1 commit into from Oct 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -85,7 +85,7 @@ def verify_heap_size
max_heap = 26 * 1024

if heap_size < min_heap || heap_size > max_heap
fail_with err_INDEX004_invalid_elasticsearch_heap_size(using_solr)
fail_with err_INDEX004_invalid_elasticsearch_heap_size(heap_size, using_solr)
end
end

Expand Down Expand Up @@ -167,7 +167,7 @@ def err_INDEX003_insufficient_system_memory(system_memory, required_memory)
EOM
end

def err_INDEX004_invalid_elasticsearch_heap_size(using_solr)
def err_INDEX004_invalid_elasticsearch_heap_size(heap_size, using_solr)
if using_solr
<<~EOM
INDEX004: Invalid elasticsearch heap size
Expand Down