ApplyObjectCommand: fix typo in exception message
Change-Id: I0a9087a36fe704bedcdfe7e7ef12a3efc9aa14ec
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/pull/api/ApplyObjectCommand.java b/src/main/java/com/googlesource/gerrit/plugins/replication/pull/api/ApplyObjectCommand.java
index 157fac3..dc497cb 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/replication/pull/api/ApplyObjectCommand.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/replication/pull/api/ApplyObjectCommand.java
@@ -164,7 +164,7 @@
if (!isRefUpdateSuccessful) {
String message =
String.format(
- "RefUpdate failed with result %s for: sourceLcabel=%s, project=%s, refName=%s",
+ "RefUpdate failed with result %s for: sourceLabel=%s, project=%s, refName=%s",
refUpdateState.getResult().name(), sourceLabel, name, refName);
fetchStateLog.error(message);
throw new RefUpdateException(message);