Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyaveksler committed Oct 27, 2024
1 parent dba26dd commit 50fefb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/netpol/internal/common/portset.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (p *PortSet) Union(other *PortSet) {

// ContainedIn: return true if current PortSet object is contained in input PortSet object
func (p *PortSet) ContainedIn(other *PortSet) bool {
return p.Ports.IsSubset(other.Ports)
return p.Ports.ContainedIn(other.Ports)
}

// Intersection: update current PortSet object as intersection with input PortSet object
Expand Down

0 comments on commit 50fefb5

Please sign in to comment.