[skip ci] Reformat milvus operator file (#10947)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
This commit is contained in:
ThreadDao 2021-10-30 16:18:39 +08:00 committed by GitHub
parent 0fe88c0571
commit 19abf7cd70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@ from benedict import benedict
from utils.util_log import test_log as log
from common.cus_resource_opts import CustomResourceOperations as CusResource
template_yaml = 'template/default.yaml'
MILVUS_GRP = 'milvus.io'
MILVUS_VER = 'v1alpha1'
@ -17,7 +16,6 @@ class MilvusOperator(object):
self.version = MILVUS_VER
self.plural = MILVUS_PLURAL.lower()
@staticmethod
def _update_configs(configs, template=None):
"""
@ -141,7 +139,6 @@ class MilvusOperator(object):
if __name__ == '__main__':
namespace = 'chaos-testing'
image = "master-20211027-c51155a"
name = f'milvus-{image.split("-")[2]}'
@ -171,4 +168,3 @@ if __name__ == '__main__':
# print(endpoint)
# milvusOp.uninstall(name, namespace=namespace)