Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikB2014 committed Aug 12, 2024
1 parent 4fc58e4 commit 1922b89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ fn extract_shared_tags(event: &Event) -> BTreeMap<SpanTagKey, String> {
}
if let Some(country_code) = user.geo.value().and_then(|geo| geo.country_code.value()) {
tags.insert(SpanTagKey::UserCountryCode, country_code.to_owned());
if let Some(subregion) = Subregion::from_iso2(&country_code.as_str()) {
if let Some(subregion) = Subregion::from_iso2(country_code.as_str()) {
let numerical_subregion = subregion as u8;
tags.insert(SpanTagKey::UserSubregion, numerical_subregion.to_string());
}
Expand Down

0 comments on commit 1922b89

Please sign in to comment.