open-consul/sentinel/sentinel_oss.go
2017-11-29 18:36:52 -08:00

14 lines
250 B
Go

// +build !ent
package sentinel
import (
"log"
)
// 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 *log.Logger) Evaluator {
return nil
}