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
38d4dacb
Commit
38d4dacb
authored
Jan 24, 2021
by
Miek Gieben
Committed by
GitHub
Jan 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix import ordering presubmit test (#4422)
Automatically submitted.
parent
eba74389
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
1 deletion
+7
-1
plugin/cache/item.go
plugin/cache/item.go
+1
-0
plugin/dnstap/handler_test.go
plugin/dnstap/handler_test.go
+1
-0
plugin/dnstap/writer.go
plugin/dnstap/writer.go
+1
-0
plugin/kubernetes/parse.go
plugin/kubernetes/parse.go
+1
-0
plugin/normalize.go
plugin/normalize.go
+1
-0
plugin/pkg/trace/trace.go
plugin/pkg/trace/trace.go
+1
-0
test/presubmit_test.go
test/presubmit_test.go
+1
-1
No files found.
plugin/cache/item.go
View file @
38d4dacb
...
@@ -4,6 +4,7 @@ import (
...
@@ -4,6 +4,7 @@ import (
"time"
"time"
"github.com/coredns/coredns/plugin/cache/freq"
"github.com/coredns/coredns/plugin/cache/freq"
"github.com/miekg/dns"
"github.com/miekg/dns"
)
)
...
...
plugin/dnstap/handler_test.go
View file @
38d4dacb
...
@@ -7,6 +7,7 @@ import (
...
@@ -7,6 +7,7 @@ import (
"github.com/coredns/coredns/plugin/dnstap/msg"
"github.com/coredns/coredns/plugin/dnstap/msg"
test
"github.com/coredns/coredns/plugin/test"
test
"github.com/coredns/coredns/plugin/test"
tap
"github.com/dnstap/golang-dnstap"
tap
"github.com/dnstap/golang-dnstap"
"github.com/miekg/dns"
"github.com/miekg/dns"
)
)
...
...
plugin/dnstap/writer.go
View file @
38d4dacb
...
@@ -4,6 +4,7 @@ import (
...
@@ -4,6 +4,7 @@ import (
"time"
"time"
"github.com/coredns/coredns/plugin/dnstap/msg"
"github.com/coredns/coredns/plugin/dnstap/msg"
tap
"github.com/dnstap/golang-dnstap"
tap
"github.com/dnstap/golang-dnstap"
"github.com/miekg/dns"
"github.com/miekg/dns"
)
)
...
...
plugin/kubernetes/parse.go
View file @
38d4dacb
...
@@ -2,6 +2,7 @@ package kubernetes
...
@@ -2,6 +2,7 @@ package kubernetes
import
(
import
(
"github.com/coredns/coredns/plugin/pkg/dnsutil"
"github.com/coredns/coredns/plugin/pkg/dnsutil"
"github.com/miekg/dns"
"github.com/miekg/dns"
)
)
...
...
plugin/normalize.go
View file @
38d4dacb
...
@@ -7,6 +7,7 @@ import (
...
@@ -7,6 +7,7 @@ import (
"strings"
"strings"
"github.com/coredns/coredns/plugin/pkg/parse"
"github.com/coredns/coredns/plugin/pkg/parse"
"github.com/miekg/dns"
"github.com/miekg/dns"
)
)
...
...
plugin/pkg/trace/trace.go
View file @
38d4dacb
...
@@ -2,6 +2,7 @@ package trace
...
@@ -2,6 +2,7 @@ package trace
import
(
import
(
"github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin"
ot
"github.com/opentracing/opentracing-go"
ot
"github.com/opentracing/opentracing-go"
)
)
...
...
test/presubmit_test.go
View file @
38d4dacb
...
@@ -293,7 +293,7 @@ func (w *testImportOrderingWalker) walk(path string, info os.FileInfo, _ error)
...
@@ -293,7 +293,7 @@ func (w *testImportOrderingWalker) walk(path string, info os.FileInfo, _ error)
// Ok, now that we have the type, let's see if all members adhere to it.
// Ok, now that we have the type, let's see if all members adhere to it.
// After that we check if the are in the right order.
// After that we check if the are in the right order.
for
i
:=
0
;
i
<
bl
;
i
++
{
for
i
:=
0
;
i
<
=
bl
;
i
++
{
for
_
,
p
:=
range
blocks
[
i
]
{
for
_
,
p
:=
range
blocks
[
i
]
{
t
:=
importtype
(
p
.
Path
.
Value
)
t
:=
importtype
(
p
.
Path
.
Value
)
if
t
!=
ip
[
i
]
{
if
t
!=
ip
[
i
]
{
...
...
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