diff --git a/recipe_modules/bot_update/api.py b/recipe_modules/bot_update/api.py index 512a89e41..be231c85d 100644 --- a/recipe_modules/bot_update/api.py +++ b/recipe_modules/bot_update/api.py @@ -130,9 +130,9 @@ class BotUpdateApi(recipe_api.RecipeApi): oauth2_json_file = email_file = key_file = None if oauth2_json: if self.m.platform.is_win: - oauth2_json_file = 'C:\\creds\\refresh_tokens\\rietveld.json' + oauth2_json_file = 'C:\\creds\\refresh_tokens\\internal-try' else: - oauth2_json_file = '/creds/refresh_tokens/rietveld.json' + oauth2_json_file = '/creds/refresh_tokens/internal-try' elif patch_oauth2: # TODO(martiniss): remove this hack :(. crbug.com/624212 if use_site_config_creds: diff --git a/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json b/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json index 0c0277779..772fc2d18 100644 --- a/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json +++ b/recipe_modules/bot_update/example.expected/trychange_oauth2_json.json @@ -13,7 +13,7 @@ "--git-cache-dir", "[GIT_CACHE]", "--apply_issue_oauth2_file", - "/creds/refresh_tokens/rietveld.json", + "/creds/refresh_tokens/internal-try", "--output_json", "/path/to/tmp/json", "--revision", diff --git a/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json b/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json index d084143b6..3336ef0fc 100644 --- a/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json +++ b/recipe_modules/bot_update/example.expected/trychange_oauth2_json_win.json @@ -13,7 +13,7 @@ "--git-cache-dir", "[GIT_CACHE]", "--apply_issue_oauth2_file", - "C:\\creds\\refresh_tokens\\rietveld.json", + "C:\\creds\\refresh_tokens\\internal-try", "--output_json", "/path/to/tmp/json", "--revision",