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
17 lines
337 B
Go
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
|
|
}
|