Fix dbus config path for GracefulNodeShutdown e2e

This commit is contained in:
Shiming Zhang 2021-07-08 10:38:53 +08:00
parent f915aa39e8
commit 5d80665b0a

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
}