From 609445aac901f683c02283512e87065d4bd6a619 Mon Sep 17 00:00:00 2001 From: Shi Su <67605788+shi-su@users.noreply.github.com> Date: Sat, 17 Oct 2020 02:37:15 -0700 Subject: [PATCH] fix boot type for fast boot (#674) --- vslib/src/SwitchConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vslib/src/SwitchConfig.cpp b/vslib/src/SwitchConfig.cpp index 7738eae0dcd3..b986b346bfb0 100644 --- a/vslib/src/SwitchConfig.cpp +++ b/vslib/src/SwitchConfig.cpp @@ -98,7 +98,7 @@ bool SwitchConfig::parseBootType( { bootType = SAI_VS_BOOT_TYPE_WARM; } - else if (bt == "fast" || bt == SAI_VALUE_VS_BOOT_TYPE_COLD) + else if (bt == "fast" || bt == SAI_VALUE_VS_BOOT_TYPE_FAST) { bootType = SAI_VS_BOOT_TYPE_FAST; }