Skip to content

Commit 703f1d3

Browse files
committed
[FAB-15038] remove dead defaultPolicy method
Change-Id: I7d457f82d2df2d4ad9ec34bfd4efd0c49db09faa Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
1 parent 2f595a0 commit 703f1d3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

core/aclmgmt/defaultaclprovider.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,6 @@ func (d *defaultACLProviderImpl) initialize() {
116116
d.cResourcePolicyMap[resources.Event_FilteredBlock] = CHANNELREADERS
117117
}
118118

119-
//this should cover an exhaustive list of everything called from the peer
120-
func (d *defaultACLProviderImpl) defaultPolicy(resName string, cprovider bool) string {
121-
var pol string
122-
if cprovider {
123-
pol = d.cResourcePolicyMap[resName]
124-
} else {
125-
pol = d.pResourcePolicyMap[resName]
126-
}
127-
return pol
128-
}
129-
130119
func (d *defaultACLProviderImpl) IsPtypePolicy(resName string) bool {
131120
_, ok := d.pResourcePolicyMap[resName]
132121
return ok

0 commit comments

Comments
 (0)