Skip to content

Commit

Permalink
Don't check value name on extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Aug 6, 2019
1 parent beffa62 commit c3ea252
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ func extractValue(v reflect.Type, d int) *registry.Value {
v = v.Elem()
}

if len(v.Name()) == 0 {
return nil
}

arg := &registry.Value{
Name: v.Name(),
Type: v.Name(),
Expand Down

0 comments on commit c3ea252

Please sign in to comment.