opensearch-project/demos

[FEATURE][DocBot] Move variables into function declarations cluster_bootstrap.py

开放

#65 创建于 2023年10月23日

 (2 条评论) (0 个反应) (1 位负责人) (18 个派生)auto 404
OSCIenhancementhelp wanted

仓库指标

星标
 (4 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南