Skip to content

Commit

Permalink
solved nullpointer
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Masili committed Jul 18, 2021
1 parent d98fd48 commit ff3cfb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/pipeline/pbf_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func ReadFromPbf(path string, heartbeat Heartbeat) (chan map[string]interface{},
switch v.(type) {
case *osm.Node:
m := make(map[string]interface{}, 7)
node := v.(osm.Node)
node := v.(*osm.Node)
m["osm_id"] = node.OsmId
m["class"] = node.Class
m["type"] = node.Type
Expand Down

0 comments on commit ff3cfb1

Please sign in to comment.