Skip to content

Commit 0316049

Browse files
authored
Fix applyFeatureTable log messages (#13)
Fixes #5 Signed-off-by: ted chang <htchang@us.ibm.com>
1 parent 154db09 commit 0316049

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/java/feast/core/grpc/CoreServiceImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,14 +311,14 @@ public void applyFeatureTable(
311311
String.format(
312312
"ApplyFeatureTable: Unable to apply Feature Table due to a conflict: "
313313
+ "Ensure that name is unique within Project: (name: %s, project: %s)",
314-
projectName, tableName));
314+
tableName, projectName));
315315
responseObserver.onError(
316316
Status.ALREADY_EXISTS.withDescription(e.getMessage()).withCause(e).asRuntimeException());
317317
} catch (IllegalArgumentException e) {
318318
log.error(
319319
String.format(
320320
"ApplyFeatureTable: Invalid apply Feature Table Request: (name: %s, project: %s)",
321-
projectName, tableName));
321+
tableName, projectName));
322322
responseObserver.onError(
323323
Status.INVALID_ARGUMENT
324324
.withDescription(e.getMessage())
@@ -328,7 +328,7 @@ public void applyFeatureTable(
328328
log.error(
329329
String.format(
330330
"ApplyFeatureTable: Unsupported apply Feature Table Request: (name: %s, project: %s)",
331-
projectName, tableName));
331+
tableName, projectName));
332332
responseObserver.onError(
333333
Status.UNIMPLEMENTED.withDescription(e.getMessage()).withCause(e).asRuntimeException());
334334
} catch (Exception e) {

0 commit comments

Comments
 (0)