Skip to content
Snippets Groups Projects

Fix reading configuration for multiple custom domains

Merged Nick Thomas requested to merge nick.thomas/gitlab-pages:fix-multiple-config into master

Without this patch, the different domains end up with pointers to the same domainsConfig struct, as go re-uses the same region of memory on each iteration of a for loop.

Rework of !26 (closed) with added tests.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading