opensearch-project/demos
[FEATURE][DocBot] Move variables into function declarations cluster_bootstrap.py
Open
#65 opened on Oct 23, 2023
OSCIenhancementhelp wanted
Repository metrics
- Stars
- (4 stars)
- PR merge metrics
- (PR metrics pending)
Description
Is your feature request related to a problem?
When we have parameters hidden in our files we cannot as easily test our changes. To make this code more testable we need to pull things like index names into the function parameters and we can set them as defaults if that makes sense.
https://github.com/opensearch-project/demos/pull/60/files#r1368887197