PeerGrouping defaulting on access all
This commit is contained in:
@@ -365,7 +365,9 @@ type ResourcePartnerShip[T pricing.PricingProfileITF] struct {
|
||||
|
||||
func (ri *ResourcePartnerShip[T]) FilterPartnership(peerID string) {
|
||||
if ri.PeerGroups["*"] == nil && ri.PeerGroups[peerID] == nil {
|
||||
ri.PeerGroups = map[string][]string{}
|
||||
ri.PeerGroups = map[string][]string{
|
||||
"*": {"*"},
|
||||
}
|
||||
} else {
|
||||
ri.PeerGroups = map[string][]string{}
|
||||
if ri.PeerGroups["*"] != nil {
|
||||
|
||||
Reference in New Issue
Block a user