Commit db7c70a2 authored by Tristan Cavelier's avatar Tristan Cavelier

no longer used method removed

parent 0afd4c06
......@@ -425,14 +425,3 @@ function methodType(method) {
return 'unknown';
}
}
/**
* Return 'success', 'error' or 'retry' according to a http status.
*
* @param {Number} status The http status
* @return {String} The command action string
*/
function guessCommandFromStatus(status) {
return constants.http_action[status || 0];
}
exports.util.guessCommandFromStatus = guessCommandFromStatus;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment