fix misnamed error_code to code
Merge pull request #4358 from bparees/fix_error_code

Merged by openshift-bot