83bf7ab3ff
This should let freshly recompiled golangci-lint binaries using Go 1.17 pass 'make lint'
15 lines
305 B
Go
15 lines
305 B
Go
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package sentinel
|
|
|
|
import (
|
|
"github.com/hashicorp/go-hclog"
|
|
)
|
|
|
|
// New returns a new instance of the Sentinel code engine. This is only available
|
|
// in Consul Enterprise so this version always returns nil.
|
|
func New(logger hclog.Logger) Evaluator {
|
|
return nil
|
|
}
|