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 合併指標
 (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

貢獻者指南