From 1d02536133e70d4a7a104f16ac52ebcad32f60a7 Mon Sep 17 00:00:00 2001 From: paduin Date: Thu, 8 Feb 2024 16:39:30 +0100 Subject: [PATCH] fix return --- .../waggledance/client/SplitTrafficMetastoreClientFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/client/SplitTrafficMetastoreClientFactory.java b/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/client/SplitTrafficMetastoreClientFactory.java index 016ff38bc..9001ec441 100644 --- a/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/client/SplitTrafficMetastoreClientFactory.java +++ b/waggle-dance-core/src/main/java/com/hotels/bdp/waggledance/client/SplitTrafficMetastoreClientFactory.java @@ -59,7 +59,7 @@ public Object invoke(Object proxy, Method method, Object[] args) throws Throwabl return result; default: if (method.getName().startsWith("get")) { - doRealCall(readOnly, method, args); + return doRealCall(readOnly, method, args); } return doRealCall(readWrite, method, args); }