Skip to content

Commit

Permalink
fix boot type for fast boot (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
shi-su committed Oct 17, 2020
1 parent 1325cdf commit 609445a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vslib/src/SwitchConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 609445a

Please sign in to comment.