83bf7ab3ff
This should let freshly recompiled golangci-lint binaries using Go 1.17 pass 'make lint'
20 lines
422 B
Go
20 lines
422 B
Go
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package autoconf
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
// mockedEnterpriseConfig is pretty much just a stub in OSS
|
|
// It does contain an enterprise config for compatibility
|
|
// purposes but that in and of itself is just a stub.
|
|
type mockedEnterpriseConfig struct {
|
|
EnterpriseConfig
|
|
}
|
|
|
|
func newMockedEnterpriseConfig(t *testing.T) *mockedEnterpriseConfig {
|
|
return &mockedEnterpriseConfig{}
|
|
}
|