mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 10:08:42 +08:00
[skip ci]Add comments in chaos commons (#9179)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
This commit is contained in:
parent
60fff23d23
commit
d4adc005de
@ -51,6 +51,7 @@ def get_env_variable_by_name(name):
|
|||||||
|
|
||||||
|
|
||||||
def get_chaos_yamls():
|
def get_chaos_yamls():
|
||||||
|
"""get chaos yaml file(s) from configured environment path"""
|
||||||
chaos_env = get_env_variable_by_name(constants.CHAOS_CONFIG_ENV)
|
chaos_env = get_env_variable_by_name(constants.CHAOS_CONFIG_ENV)
|
||||||
if chaos_env is not None:
|
if chaos_env is not None:
|
||||||
if os.path.isdir(chaos_env):
|
if os.path.isdir(chaos_env):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user