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

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
}