use correct warn(ing) for logger
Merge pull request #1221 from dajohnso/fix_get_roles

use correct warn(ing) for logger