mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Some golint cleanup (#674)
This commit fixes some golint issues in `core/dnsserver` and `middleware/kubernetes`. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
@@ -14,7 +14,7 @@ type serverTLS struct {
|
||||
*Server
|
||||
}
|
||||
|
||||
// NewTLSServer returns a new CoreDNS TLS server and compiles all middleware in to it.
|
||||
// NewServerTLS returns a new CoreDNS TLS server and compiles all middleware in to it.
|
||||
func NewServerTLS(addr string, group []*Config) (*serverTLS, error) {
|
||||
|
||||
s, err := NewServer(addr, group)
|
||||
|
||||
Reference in New Issue
Block a user