[skip ci]Add comments for endpoint in milvus operator (#10490)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
This commit is contained in:
yanliang567 2021-10-23 10:03:17 +08:00 committed by GitHub
parent 72e7bd80a9
commit 39e37bf2f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,6 +98,10 @@ class MilvusOperator(object):
return False
def endpoint(self, release_name, namespace='default'):
"""
Method: get Milvus endpoint by name and namespace
Return: a string type endpoint. e.g: host:port
"""
endpoint = None
cus_res = CusResource(kind=self.plural, group=self.group,
version=self.version, namespace=namespace)