Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
vmdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e89c44d4
authored
Jul 01, 2016
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ceph: fix parse_endpoint ipv4 regex match
parent
d09b32a3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ceph.py
+1
-1
No files found.
ceph.py
View file @
e89c44d4
...
@@ -88,7 +88,7 @@ def get_secret_key(conf):
...
@@ -88,7 +88,7 @@ def get_secret_key(conf):
def
parse_endpoint
(
mon
):
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"
))
return
(
m
.
group
(
"address"
),
m
.
group
(
"port"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment