This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
octodns
mirror of
https://github.com/octodns/octodns
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
52
Wiki
Activity
Browse Source
fix API incorrect behaviour while returning records data: API always must return type in upper case, but at this moment it returns record type as it was provided on record creation
pull/681/head
Yaroshevich, Denis
5 years ago
parent
d688c6123a
commit
88b003130e
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
octodns/provider/gcore.py
+ 1
- 1
octodns/provider/gcore.py
View File
@ -141,7 +141,7 @@ class GCoreProvider(BaseProvider):
values
=
defaultdict
(
defaultdict
)
values
=
defaultdict
(
defaultdict
)
records
,
exists
=
self
.
zone_records
(
zone
)
records
,
exists
=
self
.
zone_records
(
zone
)
for
record
in
records
:
for
record
in
records
:
_type
=
record
[
"
type
"
]
_type
=
record
[
"
type
"
]
.
upper
(
)
if
_type
not
in
self
.
SUPPORTS
:
if
_type
not
in
self
.
SUPPORTS
:
continue
continue
rr_name
=
record
[
"
name
"
]
.
replace
(
zone
.
name
,
"
"
)
rr_name
=
record
[
"
name
"
]
.
replace
(
zone
.
name
,
"
"
)
Write
Preview
Loading…
Cancel
Save