2023-04-20 12:40:22 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2023-03-30 14:08:38 +00:00
|
|
|
//go:build !consulent
|
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package xds
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
|
|
|
func (ft discoChainTargets) orderByLocality() ([]discoChainTargetGroup, error) {
|
|
|
|
return nil, fmt.Errorf("order-by-locality is a Consul Enterprise feature")
|
|
|
|
}
|