mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-07 04:42:52 -05:00
Fix typos
This commit is contained in:
@@ -617,7 +617,7 @@ func dns() (DNSConfig, error) {
|
||||
// UnmarshalKey is compatible with Environment Variables.
|
||||
// err := viper.UnmarshalKey("dns", &dns)
|
||||
// if err != nil {
|
||||
// return DNSConfig{}, fmt.Errorf("unmarshaling dns config: %w", err)
|
||||
// return DNSConfig{}, fmt.Errorf("unmarshalling dns config: %w", err)
|
||||
// }
|
||||
|
||||
dns.MagicDNS = viper.GetBool("dns.magic_dns")
|
||||
@@ -632,7 +632,7 @@ func dns() (DNSConfig, error) {
|
||||
|
||||
err := viper.UnmarshalKey("dns.extra_records", &extraRecords)
|
||||
if err != nil {
|
||||
return DNSConfig{}, fmt.Errorf("unmarshaling dns extra records: %w", err)
|
||||
return DNSConfig{}, fmt.Errorf("unmarshalling dns extra records: %w", err)
|
||||
}
|
||||
dns.ExtraRecords = extraRecords
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user