Unified custom config creation #16012

Merged
KN4CK3R merged 3 commits from refactor-ini into main 2021-05-29 18:44:15 +00:00
KN4CK3R commented 2021-05-29 00:27:52 +00:00 (Migrated from github.com)

Replaced the same code on different places.

Replaced the same code on different places.
lunny approved these changes 2021-05-29 03:37:14 +00:00
techknowlogick reviewed 2021-05-29 09:25:20 +00:00

This error is hard coded to one specific case, but by deduping this logic from multiple places this error should report which specific config option is failing (ex. One such alternative that needs to be reported as failing is INTERNAL_TOKEN)

This error is hard coded to one specific case, but by deduping this logic from multiple places this error should report which specific config option is failing (ex. One such alternative that needs to be reported as failing is INTERNAL_TOKEN)
zeripath reviewed 2021-05-29 10:49:12 +00:00
Contributor

Go generally isn't a fan of callbacks - but I guess this is cleaner and I'm not certain if there's a better way to do this.

Go generally isn't a fan of callbacks - but I guess this is cleaner and I'm not certain if there's a better way to do this.
zeripath approved these changes 2021-05-29 10:49:15 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#16012
No description provided.