Enable all linters by default

This removes the directive from .golangci.yml to disable all linters,
and fixes the relevant bugs / issues that are exposed.
This commit is contained in:
Sargun Dhillon
2020-12-03 11:33:06 -08:00
parent d562b71d9a
commit d64d427ec8
8 changed files with 14 additions and 33 deletions

View File

@@ -15,13 +15,8 @@
package opencensus
import (
"testing"
"github.com/virtual-kubelet/virtual-kubelet/trace"
)
func TestTracerImplementsTracer(t *testing.T) {
// ensure that Adapter implements trace.Tracer
if tt := trace.Tracer(Adapter{}); tt == nil {
}
}
// ensure that Adapter implements trace.Tracer
var _ trace.Tracer = (*Adapter)(nil)