commit | 048a68f3b2a3cbbacc215a888ef9dde5f2f63360 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Sep 02 07:59:01 2025 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Sep 02 07:59:01 2025 +0100 |
tree | 52d3bad9c1ba24853aa0d326d0c46c71f7eedb6b | |
parent | 5494f929be6d9b0b54ac40a44d8c956bf4757306 [diff] |
Amend the addition of external-ids to the latest master version Change-Id: I44a141dc18c2f5097b3ca833b2e51334cbbaa1e7
diff --git a/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/AccountController.java b/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/AccountController.java index 0bb7e3e..1b7327f 100644 --- a/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/AccountController.java +++ b/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/wizard/AccountController.java
@@ -156,7 +156,7 @@ .update( "Set Username from GitHub", accountId, - u -> u.addExternalId(externalIdFactory.create(key, accountId, null, null))); + u -> u.addExternalId(externalIdFactory.create(key, accountId))); } catch (Exception e) { throw new IllegalArgumentException( "Internal error while trying to set username='" + username + "'");