Skip to content

Commit

Permalink
Fix dbus config path for GracefulNodeShutdown e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Jul 8, 2021
1 parent f915aa3 commit 5d80665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e_node/node_shutdown_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -303,7 +303,7 @@ func overlayDbusConfig() error {
}

func restoreDbusConfig() error {
err := os.Remove(dbusConf)
err := os.Remove(dbusConfPath)
if err != nil {
return err
}
Expand Down

0 comments on commit 5d80665

Please sign in to comment.