Update to upstream changes
The upstream change I798f98384fc513987c00aa1a6102c9967813b542
moved CreateAccount.Input to api.accounts.AccountInput.
Change-Id: Ibc4ab760cb29804cbf9cd1d92a3dccd0afe8321d
diff --git a/src/main/java/com/googlesource/gerrit/plugins/importer/AccountUtil.java b/src/main/java/com/googlesource/gerrit/plugins/importer/AccountUtil.java
index 0edb603..d99f77c 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/importer/AccountUtil.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/importer/AccountUtil.java
@@ -16,6 +16,7 @@
import com.google.gerrit.common.errors.InvalidSshKeyException;
import com.google.gerrit.common.errors.NoSuchAccountException;
+import com.google.gerrit.extensions.api.accounts.AccountInput;
import com.google.gerrit.extensions.api.groups.GroupApi;
import com.google.gerrit.extensions.common.AccountInfo;
import com.google.gerrit.extensions.common.SshKeyInfo;
@@ -140,7 +141,7 @@
private Account.Id createLocalUser(AccountInfo acc)
throws OrmException, RestApiException, IOException, ConfigInvalidException {
- CreateAccount.Input input = new CreateAccount.Input();
+ AccountInput input = new AccountInput();
log.info(String.format("User '%s' not found", acc.username));
String username = acc.username;
input.username = username;