for _, m := range precedence {
for idx, cv := range cvs {
if m == cv.Constraints {
if valueOrder == 0 {
valueOrder = order
// Note: cvs here is the slice returned by Client.GetValue. We want to
// return a pointer into that slice instead of copying the ConstrainedValue.
// See findMatch.
matchedValue = &cvs[idx]
}
}
}