CB-2850: fix typo of warning to warn