dd0e8eec14
* copyright headers for agent folder * Ignore test data files * fix proto files and remove headers in agent/uiserver folder * ignore deep-copy files
21 lines
418 B
Go
21 lines
418 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
//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
|
|
}
|