[skip ci]Add comments in chaos commons (#9179)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
This commit is contained in:
yanliang567 2021-10-04 08:32:05 +08:00 committed by GitHub
parent 60fff23d23
commit d4adc005de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,7 @@ def get_env_variable_by_name(name):
def get_chaos_yamls():
"""get chaos yaml file(s) from configured environment path"""
chaos_env = get_env_variable_by_name(constants.CHAOS_CONFIG_ENV)
if chaos_env is not None:
if os.path.isdir(chaos_env):