mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
8f2a85dc94
Bumps [github.com/godbus/dbus/v5](https://github.com/godbus/dbus) from 5.1.0 to 5.2.0. - [Release notes](https://github.com/godbus/dbus/releases) - [Commits](https://github.com/godbus/dbus/compare/v5.1.0...v5.2.0) --- updated-dependencies: - dependency-name: github.com/godbus/dbus/v5 dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
14 lines
259 B
Go
14 lines
259 B
Go
package dbus
|
|
|
|
import "os"
|
|
|
|
const defaultSystemBusAddress = "tcp:host=127.0.0.1,port=12434"
|
|
|
|
func getSystemBusPlatformAddress() string {
|
|
address := os.Getenv("DBUS_SYSTEM_BUS_ADDRESS")
|
|
if address != "" {
|
|
return address
|
|
}
|
|
return defaultSystemBusAddress
|
|
}
|