Skip to content

Commit

Permalink
Merge pull request #6363 from microsoft/endgame-202201
Browse files Browse the repository at this point in the history
sync with endgame.next
  • Loading branch information
wangmingliang-ms authored Jan 25, 2022
2 parents 7217be7 + 241539b commit b8418bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public Map<String, String> getTelemetryProperties() {
final Map<String, String> result = new HashMap<>();
result.put("subscriptionId", Optional.ofNullable(subscription).map(Subscription::getId).orElse(StringUtils.EMPTY));
result.put("region", Optional.ofNullable(region).map(Region::getName).orElse(StringUtils.EMPTY));
final PricingTier pricingTier = Optional.ofNullable(getServicePlan()).map(AppServicePlanEntity::getPricingTier).orElse(getPricingTier());
result.put("pricingTier", Optional.ofNullable(pricingTier).map(PricingTier::getSize).orElse(StringUtils.EMPTY));
return result;
}
Expand Down

0 comments on commit b8418bb

Please sign in to comment.