Support service name to connect in pytest (#12186)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
pull/12186/merge
binbin 2021-11-23 15:21:15 +08:00 committed by GitHub
parent 0db006f305
commit 640645265e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -14,16 +14,6 @@ def ip_check(ip):
log.error("[IP_CHECK] IP(%s) is not a string." % ip)
return False
_list = ip.split('.')
if len(_list) != 4:
log.error("[IP_CHECK] IP(%s) is wrong, please check manually." % ip)
return False
for i in _list:
if not str(i).isdigit():
log.error("[IP_CHECK] IP(%s) is wrong, please check manually." % ip)
return False
return True