T3MP3ST public launch build
This commit is contained in:
1 parent
972247b881
commit
184c7d4e59
1589 files changed
+57150
-506
No files matched your search
@@ -0,0 +1,34 @@
|
||||
// Copyright IBM Corp. 2015, 2025
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
//go:build !ent
|
||||
// +build !ent
|
||||
|
||||
package nomad
|
||||
|
||||
import (
|
||||
autopilot "github.com/hashicorp/raft-autopilot"
|
||||
|
||||
"github.com/hashicorp/nomad/nomad/peers"
|
||||
"github.com/hashicorp/nomad/nomad/structs"
|
||||
)
|
||||
|
||||
func (s *Server) autopilotPromoter() autopilot.Promoter {
|
||||
return autopilot.DefaultPromoter()
|
||||
}
|
||||
|
||||
// autopilotServerExt returns the autopilot-enterprise.Server extensions needed
|
||||
// for ENT feature support, but this is the empty OSS implementation.
|
||||
func (s *Server) autopilotServerExt(_ *peers.Parts) interface{} {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *Server) autopilotStateExt(_ *autopilot.State, _ *structs.OperatorHealthReply) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// autopilotConfigExt returns the autopilot-enterprise.Config extensions needed
|
||||
// for ENT feature support, but this is the empty OSS implementation.
|
||||
func autopilotConfigExt(_ *structs.AutopilotConfig) interface{} {
|
||||
return nil
|
||||
}
|
||||
Reference in new issue
Block a user