Skip to content

Commit

Permalink
Switch && for || to fix bug in apache#23889 resolution (apache#24017)
Browse files Browse the repository at this point in the history
  • Loading branch information
lostluck authored and ruslan-ikhsan committed Nov 11, 2022
1 parent 7712968 commit 496d181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/go/pkg/beam/core/runtime/graphx/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (r *Registry) reconcileRegistrations() (deferedErr error) {
// We could have either a pointer or non pointer here,
// so we strip pointerness and then check both.
vT := reflectx.SkipPtr(ut)
if check(vT) && check(reflect.PtrTo(vT)) {
if check(vT) || check(reflect.PtrTo(vT)) {
continue
}
if err := r.registerType(ut, map[reflect.Type]struct{}{}); err != nil {
Expand Down

0 comments on commit 496d181

Please sign in to comment.