Skip to content

Commit

Permalink
Merge pull request #600 from EJTJ3/fix-small-typo
Browse files Browse the repository at this point in the history
Fix small typo in ua/variant
  • Loading branch information
kung-foo authored Aug 17, 2022
2 parents 5102686 + 51e21e1 commit 50c816d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ua/variant.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type Variant struct {
func NewVariant(v interface{}) (*Variant, error) {
va := &Variant{}
if !isBuiltinType(v) {
return nil, fmt.Errorf("trying to create a variant from a type that it is not suppoted: %s", reflect.ValueOf(v).Type().Name())
return nil, fmt.Errorf("trying to create a variant from a type that it is not supported: %s", reflect.ValueOf(v).Type().Name())
}
if err := va.set(v); err != nil {
return nil, err
Expand Down

0 comments on commit 50c816d

Please sign in to comment.