fix: exemption typo

This commit is contained in:
Lea Anthony
2022-10-01 19:03:20 +10:00
committed by GitHub
parent 40e326a708
commit 6a3b89d212
+1 -1
View File
@@ -36,7 +36,7 @@ func NewBindings(logger *logger.Logger, structPointersToBind []interface{}, exem
}
for _, exemption := range exemptions {
if exemptions == nil {
if exemption == nil {
continue
}
name := runtime.FuncForPC(reflect.ValueOf(exemption).Pointer()).Name()