flagrate.Switch: fixed the lint error for 8ab527a