Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: Apply suggestions from code review
Co-authored-by: Heitor Lessa <heitor.lessa@hotmail.com>
  • Loading branch information
Michael Brewer and heitorlessa authored Mar 9, 2021
commit be5f7319e0ffeb762486134d3328b5df2fe96110
2 changes: 1 addition & 1 deletion aws_lambda_powertools/utilities/parameters/appconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(

config = config or Config()
self.client = boto3.client("appconfig", config=config)
self.application = application or os.getenv(constants.SERVICE_NAME_ENV, "service_undefined")
self.application = resolve_env_var_choice(choice=application, env=os.getenv(constants.SERVICE_NAME_ENV, "service_undefined"))
self.environment = environment
self.current_version = ""

Expand Down