Commit e89c44d4 by Czémán Arnold

ceph: fix parse_endpoint ipv4 regex match

parent d09b32a3
......@@ -88,7 +88,7 @@ def get_secret_key(conf):
def parse_endpoint(mon):
m = mon_regex_ipv6.match(mon["addr"]) or mon_regex_ipv4(mon["addr"])
m = mon_regex_ipv6.match(mon["addr"]) or mon_regex_ipv4.match(mon["addr"])
return (m.group("address"), m.group("port"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment