mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* 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
16 lines
171 B
Go
Generated
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
|
|
}
|