From c0ddac051a1eec4ac2b12191ce61b6fcec265772 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 17 Jan 2017 21:46:18 +0100 Subject: [PATCH] BUG-6937: correct format string This is a fix, the constructor takes String.format() string, not a Logger.debug() one. Change-Id: I966b02cd0c280b50ec1d0e77fb5a493fa2f5a4fe Signed-off-by: Robert Varga --- .../controller/remote/rpc/RemoteRpcImplementation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteRpcImplementation.java b/opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteRpcImplementation.java index 11f145ce1e..8d2cefbcaa 100644 --- a/opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteRpcImplementation.java +++ b/opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/RemoteRpcImplementation.java @@ -50,7 +50,7 @@ public class RemoteRpcImplementation implements DOMRpcImplementation { LOG.warn("Rpc {} was removed during execution or there is loop present. Failing received rpc.", rpc); return Futures.immediateFailedCheckedFuture( new DOMRpcImplementationNotAvailableException( - "Rpc implementation for {} was removed during processing.", rpc)); + "Rpc implementation for %s was removed during processing.", rpc)); } final RemoteDOMRpcFuture frontEndFuture = RemoteDOMRpcFuture.create(rpc.getType().getLastComponent()); findRouteAsync(rpc).onComplete(new OnComplete() { -- 2.36.6