cameront / go-jsonpatch

A jsonpatch library for go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicated value kind

kazmier opened this issue · comments

go-jsonpatch/patch.go

Lines 76 to 77 in a871086

valueKind := reflect.ValueOf(value).Kind()
otherKind := reflect.ValueOf(value).Kind()

Should be:

valueKind := reflect.ValueOf(value).Kind()
otherKind := reflect.ValueOf(other).Kind()