Correct misspelled method name Change-Id: I0b1c947ac1c38ad6b120275f7ed80e54297ba165
diff --git a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java index 651aba0..eea1448 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java +++ b/src/main/java/com/googlesource/gerrit/plugins/replication/ReplicationQueue.java
@@ -266,7 +266,7 @@ } OutputStream errStream = newErrorBufferStream(); try { - executeRemotSsh(uri, cmd, errStream); + executeRemoteSsh(uri, cmd, errStream); } catch (IOException e) { log.error(String.format( "Error creating remote repository at %s:\n" @@ -320,7 +320,7 @@ String cmd = "rm -rf " + quotedPath; OutputStream errStream = newErrorBufferStream(); try { - executeRemotSsh(uri, cmd, errStream); + executeRemoteSsh(uri, cmd, errStream); } catch (IOException e) { log.error(String.format( "Error deleting remote repository at %s:\n" @@ -349,7 +349,7 @@ + " && git symbolic-ref HEAD " + QuotedString.BOURNE.quote(newHead); OutputStream errStream = newErrorBufferStream(); try { - executeRemotSsh(uri, cmd, errStream); + executeRemoteSsh(uri, cmd, errStream); } catch (IOException e) { log.error(String.format( "Error updating HEAD of remote repository at %s to %s:\n" @@ -376,7 +376,7 @@ } } - private static void executeRemotSsh(URIish uri, String cmd, + private static void executeRemoteSsh(URIish uri, String cmd, OutputStream errStream) throws IOException { RemoteSession ssh = connect(uri); Process proc = ssh.exec(cmd, 0);