Skip to content

Commit

Permalink
feat(config): read wireguard config file without case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jun 28, 2024
1 parent 93ed87d commit fe05521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/configuration/sources/files/wireguard.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var (
)

func ParseWireguardConf(path string) (config WireguardConfig, err error) {
iniFile, err := ini.Load(path)
iniFile, err := ini.InsensitiveLoad(path)
if err != nil {
if errors.Is(err, os.ErrNotExist) {
return WireguardConfig{}, nil
Expand Down

0 comments on commit fe05521

Please sign in to comment.