adapt to Controller::CommandFailCallback with ControlResponse
refs #3739
Change-Id: I193fb11fd96bd91808fc6e3af22a8da2511246e2
diff --git a/src/utility/face-controller.cpp b/src/utility/face-controller.cpp
index 954a074..7b0da61 100644
--- a/src/utility/face-controller.cpp
+++ b/src/utility/face-controller.cpp
@@ -76,7 +76,8 @@
const FaceUri& request)
{
_LOG_WARN("Could not convert " << request << " to canonical form: " << reason);
- onFailure(CANONIZE_ERROR_CODE, "Could not canonize face-uri: " + request.toString());
+ onFailure(ndn::nfd::ControlResponse(CANONIZE_ERROR_CODE,
+ "Could not canonize face-uri: " + request.toString()));
}
} // namespace util