mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-29 16:19:29 +00:00
4a1927f2f3
Update K8s packages in go.mod to v0.32.0 Signed-off-by: Praveen M <m.praveen@ibm.com>
16 lines
277 B
Go
16 lines
277 B
Go
//+build windows
|
|
|
|
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
|
|
}
|