mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comments for endpoint in milvus operator (#10490)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
This commit is contained in:
parent
72e7bd80a9
commit
39e37bf2f4
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user