Skip to content

Commit cc2b381

Browse files
committed
fix: fix error message typo
Signed-off-by: Kyle Dong <[email protected]>
1 parent b1ba7c1 commit cc2b381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/policyfilter/map.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func newPfMap(enableCgroupMap bool) (PfMap, error) {
8585
if enableCgroupMap {
8686
if ret.cgroupMap, err = openMap(spec, CgroupMapName, polMaxPolicies); err != nil {
8787
releaseMap(ret.policyMap)
88-
return PfMap{}, fmt.Errorf("opening cgroup map %s failed: %w", MapName, err)
88+
return PfMap{}, fmt.Errorf("opening cgroup map %s failed: %w", CgroupMapName, err)
8989
}
9090
}
9191

0 commit comments

Comments
 (0)