Skip to content

Commit

Permalink
fix(lambda): add account and region to cache data (backport #5533) (#…
Browse files Browse the repository at this point in the history
…5535)

Co-authored-by: Zach Smith <33258732+zachsmith1@users.noreply.github.com>
Co-authored-by: Cameron Motevasselani <cmotevasselani@gmail.com>
  • Loading branch information
3 people committed Sep 17, 2021
1 parent 91ebbba commit cfacc17
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ private Void addBaseAttributes(Map<String, Object> functionAttributes, String fu
return null;
}
Map<String, Object> attr = mapper.convertValue(result.getConfiguration(), Map.class);
attr.put("account", account.getName());
attr.put("region", region);
attr.put("code", result.getCode());
attr.put("tags", result.getTags());
attr.put("concurrency", result.getConcurrency());
Expand Down

0 comments on commit cfacc17

Please sign in to comment.