Files
netbird/client/internal/debug/debug_nondarwin.go
Viktor Liu 229e0038ee
Some checks failed
update docs / trigger_docs_api_update (push) Has been cancelled
Release / release (push) Has been cancelled
Release / release_ui (push) Has been cancelled
Release / release_ui_darwin (push) Has been cancelled
Release / trigger_signer (push) Has been cancelled
sync tag / trigger_sync_tag (push) Has been cancelled
[client] Add dns config to debug bundle (#4704)
2025-11-05 17:30:17 +01:00

17 lines
337 B
Go

//go:build unix && !darwin && !android
package debug
import (
log "github.com/sirupsen/logrus"
)
// addDNSInfo collects and adds DNS configuration information to the archive
func (g *BundleGenerator) addDNSInfo() error {
if err := g.addResolvConf(); err != nil {
log.Errorf("failed to add resolv.conf: %v", err)
}
return nil
}