Skip to content

Commit e962bbf

Browse files
committed
Rename FAST_REBOOT table
1 parent 9d77725 commit e962bbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/restart_waiter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ static const std::string STATE_DB_NAME = "STATE_DB";
1111
static const std::string STATE_DB_SEPARATOR = "|";
1212
static const std::string RESTART_KEY = "system";
1313
static const std::string RESTART_ENABLE_FIELD = "enable";
14-
static const std::string FAST_REBOOT_TABLE_NAME = "FAST_REBOOT";
14+
static const std::string FAST_REBOOT_TABLE_NAME = "FAST_RESTART_ENABLE_TABLE";
1515

1616
// waitAdvancedBootDone
1717
bool RestartWaiter::waitAdvancedBootDone(

tests/restart_waiter_ut.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
using namespace swss;
1313
using namespace std;
1414

15-
static const string FAST_REBOOT_KEY = "FAST_REBOOT|system";
15+
static const string FAST_REBOOT_KEY = "FAST_RESTART_ENABLE_TABLE|system";
1616

1717
static void set_reboot_status(string status, int delay = 0)
1818
{

0 commit comments

Comments
 (0)