87aee8308b
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Ronald <roncodingenthusiast@users.noreply.github.com>
16 lines
305 B
Go
16 lines
305 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
//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")
|
|
}
|