From ae4502a7cad5194e71f096661049e060b6dc7d2f Mon Sep 17 00:00:00 2001 From: ted chang Date: Wed, 10 Mar 2021 01:34:29 -0800 Subject: [PATCH] Fix applyFeatureTable log messages Fixes #5 Signed-off-by: ted chang --- core/src/main/java/feast/core/grpc/CoreServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/feast/core/grpc/CoreServiceImpl.java b/core/src/main/java/feast/core/grpc/CoreServiceImpl.java index efdf0fc..648195a 100644 --- a/core/src/main/java/feast/core/grpc/CoreServiceImpl.java +++ b/core/src/main/java/feast/core/grpc/CoreServiceImpl.java @@ -311,14 +311,14 @@ public void applyFeatureTable( String.format( "ApplyFeatureTable: Unable to apply Feature Table due to a conflict: " + "Ensure that name is unique within Project: (name: %s, project: %s)", - projectName, tableName)); + tableName, projectName)); responseObserver.onError( Status.ALREADY_EXISTS.withDescription(e.getMessage()).withCause(e).asRuntimeException()); } catch (IllegalArgumentException e) { log.error( String.format( "ApplyFeatureTable: Invalid apply Feature Table Request: (name: %s, project: %s)", - projectName, tableName)); + tableName, projectName)); responseObserver.onError( Status.INVALID_ARGUMENT .withDescription(e.getMessage()) @@ -328,7 +328,7 @@ public void applyFeatureTable( log.error( String.format( "ApplyFeatureTable: Unsupported apply Feature Table Request: (name: %s, project: %s)", - projectName, tableName)); + tableName, projectName)); responseObserver.onError( Status.UNIMPLEMENTED.withDescription(e.getMessage()).withCause(e).asRuntimeException()); } catch (Exception e) {