[skip ci]Add comments for milvus operator (#10869)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
pull/10936/head
yanliang567 2021-10-30 10:34:59 +08:00 committed by GitHub
parent 2df2d488e1
commit db26127da5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,13 @@ class MilvusOperator(object):
@staticmethod
def _update_configs(configs, template=None):
"""
Method: update the template with customized configs
Params:
configs: a dict type of configurations that describe the properties of milvus to be deployed
template: Optional. Pass the template file location if there is a template to apply
Return: a dict type customized configs
"""
if not isinstance(configs, dict):
log.error("customize configurations must be in dict type")
return None