Skip to content

Commit

Permalink
Prefer locally-defined lotman policies over federation-generated poli…
Browse files Browse the repository at this point in the history
…cies
  • Loading branch information
jhiemstrawisc committed Dec 17, 2024
1 parent 40fe589 commit 4565773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lotman/lotman_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ func initLots(nsAds []server_structs.NamespaceAdV2) ([]Lot, error) {
// Handle potential need to merge discovered namespaces with provided configuration
if shouldMerge {
log.Debug("Merging lot configuration from discovered namespaces with configured lots")
lotMap, err = mergeLotMaps(directorLotMap, policyLotMap)
lotMap, err = mergeLotMaps(policyLotMap, directorLotMap)
if err != nil {
return internalLots, errors.Wrap(err, "error merging discovered namespaces with configured lots")
}
Expand Down

0 comments on commit 4565773

Please sign in to comment.