From fea8c96f792c15dc15f9b515005ce70239c5cdc6 Mon Sep 17 00:00:00 2001 From: mcilwain Date: Tue, 6 Sep 2016 14:06:57 -0700 Subject: [PATCH] Remove GoogleCredential method call that isn't publicly released yet It turns out that we don't actually need it for the system to function normally. When the next version of the OAuth2 API is released and this is included, I'll add the call back in. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=132359891 --- java/google/registry/request/Modules.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/google/registry/request/Modules.java b/java/google/registry/request/Modules.java index 2710ea136..ef92c4062 100644 --- a/java/google/registry/request/Modules.java +++ b/java/google/registry/request/Modules.java @@ -224,7 +224,8 @@ public final class Modules { .setJsonFactory(googleCredential.getJsonFactory()) .setServiceAccountId(googleCredential.getServiceAccountId()) .setServiceAccountPrivateKey(googleCredential.getServiceAccountPrivateKey()) - .setServiceAccountProjectId(googleCredential.getServiceAccountProjectId()) + // TODO(b/31317128): Also set serviceAccountProjectId from value off googleCredential when + // that functionality is publicly released. .setServiceAccountScopes(googleCredential.getServiceAccountScopes()) .setServiceAccountUser(googleAppsAdminEmailAddress) .build();