Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
892c15d0
Commit
892c15d0
authored
Mar 23, 2016
by
Miek Gieben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test cleanups; tests were working, broke them again
parent
ba72fe14
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
228 additions
and
248 deletions
+228
-248
middleware/etcd/lookup.go
middleware/etcd/lookup.go
+1
-1
middleware/etcd/lookup_test.go
middleware/etcd/lookup_test.go
+227
-247
No files found.
middleware/etcd/lookup.go
View file @
892c15d0
...
@@ -323,7 +323,7 @@ func (e Etcd) TXT(zone string, state middleware.State) (records []dns.RR, err er
...
@@ -323,7 +323,7 @@ func (e Etcd) TXT(zone string, state middleware.State) (records []dns.RR, err er
// synthesis a SOA Record.
// synthesis a SOA Record.
func
SOA
(
zone
string
)
*
dns
.
SOA
{
func
SOA
(
zone
string
)
*
dns
.
SOA
{
return
nil
return
&
dns
.
SOA
{}
}
}
func
isDuplicateCNAME
(
r
*
dns
.
CNAME
,
records
[]
dns
.
RR
)
bool
{
func
isDuplicateCNAME
(
r
*
dns
.
CNAME
,
records
[]
dns
.
RR
)
bool
{
...
...
middleware/etcd/lookup_test.go
View file @
892c15d0
This diff is collapsed.
Click to expand it.
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