Skip to content

Commit

Permalink
Merge pull request pulp#626 from mdellweg/fix_for_pre_domain_versions
Browse files Browse the repository at this point in the history
Fix reading of unavailable DOMAIN_ENABLED setting
  • Loading branch information
mdellweg committed Apr 8, 2024
2 parents c2b209d + 58483de commit a85cc8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/s6_assets/template_nginx.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
else:
values["api_root"] = settings.API_ROOT
values["content_path"] = settings.CONTENT_PATH_PREFIX
values["domain_enabled"] = settings.DOMAIN_ENABLED
values["domain_enabled"] = getattr(settings, "DOMAIN_ENABLED", False)

template = Template(args.template_file.read())
output = template.render(**values)
Expand Down

0 comments on commit a85cc8f

Please sign in to comment.