Skip to content

Commit

Permalink
fix: exemption typo
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Oct 1, 2022
1 parent 40e326a commit 6a3b89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/internal/binding/binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6a3b89d

Please sign in to comment.