headplane icon indicating copy to clipboard operation
headplane copied to clipboard

Fill default configuration values when parsing the configuration YAML

Open tale opened this issue 1 year ago • 0 comments

Right now, I'm doing a very simple YAML parsing on the configuration file, but not filling in missing values with their defaults. This could be fixed with an idiomatic configuration API, however for now the solution would be filling in the default values from the upstream.

https://github.com/juanfont/headscale/blob/main/hscontrol/types/config.go

tale avatar May 12 '24 03:05 tale