83bf7ab3ff
This should let freshly recompiled golangci-lint binaries using Go 1.17 pass 'make lint'
18 lines
348 B
Go
18 lines
348 B
Go
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package consul
|
|
|
|
import (
|
|
"github.com/hashicorp/consul/agent/metadata"
|
|
autopilot "github.com/hashicorp/raft-autopilot"
|
|
)
|
|
|
|
func (s *Server) autopilotPromoter() autopilot.Promoter {
|
|
return autopilot.DefaultPromoter()
|
|
}
|
|
|
|
func (_ *Server) autopilotServerExt(_ *metadata.Server) interface{} {
|
|
return nil
|
|
}
|