mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
25396d81c9
* Apply agent partition to load services and agent api changelog
18 lines
320 B
Go
18 lines
320 B
Go
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package agent
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/hashicorp/consul/acl"
|
|
)
|
|
|
|
func (s *HTTPHandlers) validateRequestPartition(_ http.ResponseWriter, _ *acl.EnterpriseMeta) bool {
|
|
return true
|
|
}
|
|
|
|
func (s *HTTPHandlers) defaultMetaPartitionToAgent(entMeta *acl.EnterpriseMeta) {
|
|
}
|