Skip to content

Commit

Permalink
chore: make noopManager a no-op, even if a DNS config is supplied
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanndickson committed Nov 7, 2024
1 parent 02286e5 commit c2bd8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/dns/noop.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package dns
type noopManager struct{}

func (m noopManager) SetDNS(OSConfig) error { return nil }
func (m noopManager) SupportsSplitDNS() bool { return false }
func (m noopManager) SupportsSplitDNS() bool { return true }
func (m noopManager) Close() error { return nil }
func (m noopManager) GetBaseConfig() (OSConfig, error) {
return OSConfig{}, ErrGetBaseConfigNotSupported
Expand Down

0 comments on commit c2bd8b5

Please sign in to comment.