Files
odo/vendor/github.com/godbus/dbus/v5/homedir_dynamic.go
Tomas Kral 89ac67e425 use server side apply (#4648)
* update to openshift 4.7 and sbo 0.7.0

* use server side apply for updating deployments

* go mod vendor

* use ApplyDeployment instad Patch and Create

* fix login message

* update unit tests to work with ApplyDeployment function

* fall back to Create/Update for k8s older than 1.16

* abstract fieldManager into const

* fix operator-framework imports
2021-05-17 13:05:21 -04:00

16 lines
171 B
Go
Generated

// +build !static_build
package dbus
import (
"os/user"
)
func lookupHomeDir() string {
u, err := user.Current()
if err != nil {
return "/"
}
return u.HomeDir
}