Merge pull request #103566 from wzshiming/fix/e2e-dbus-config-path

Fix dbus config path for GracefulNodeShutdown e2e
This commit is contained in:
Kubernetes Prow Robot 2021-07-15 12:39:14 -07:00 committed by GitHub
commit ac8dca79af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -291,7 +291,7 @@ ExecStop=
)
func overlayDbusConfig() error {
err := os.MkdirAll(filepath.Dir(dbusConf), 0755)
err := os.MkdirAll(filepath.Dir(dbusConfPath), 0755)
if err != nil {
return err
}
@ -303,7 +303,7 @@ func overlayDbusConfig() error {
}
func restoreDbusConfig() error {
err := os.Remove(dbusConf)
err := os.Remove(dbusConfPath)
if err != nil {
return err
}