Skip to content

Commit

Permalink
Swap Lat Long, X, Y
Browse files Browse the repository at this point in the history
  • Loading branch information
Firaenix committed Jan 15, 2025
1 parent fc4cc9e commit fe83049
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/collectors/dns/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ impl Collector for DnsCollector {
]);
if let Ok(v) = geohash::encode(
Coord {
x: node_info.lat,
y: node_info.lon,
x: node_info.lon,
y: node_info.lat,
},
5,
) {
Expand Down
4 changes: 2 additions & 2 deletions src/collectors/hls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ fn handle_response(&self, response: PerformHlsResponse) -> Result<(), CollectorE

if let Ok(v) = geohash::encode(
Coord {
x: node_info.lat,
y: node_info.lon,
x: node_info.lon,
y: node_info.lat,
},
5,
) {
Expand Down
4 changes: 2 additions & 2 deletions src/collectors/icmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ impl Collector for IcmpCollector {

if let Ok(v) = geohash::encode(
Coord {
x: node_info.lat,
y: node_info.lon,
x: node_info.lon,
y: node_info.lat,
},
5,
) {
Expand Down

0 comments on commit fe83049

Please sign in to comment.