Skip to content

Commit

Permalink
refactor(http): Rename useCache option to memCache (renovatebot#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
NiasSt90 committed Jun 15, 2023
1 parent 89b0427 commit ccca52d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/modules/platform/gerrit/client.ts
Expand Up @@ -60,7 +60,7 @@ class GerritClient {
`a/changes/?q=` +
filters.join('+') +
this.requestDetails.map((det) => '&o=' + det).join(''),
{ useCache: !refreshCache }
{ memCache: !refreshCache }
);
logger.trace(
`findChanges(${filters.join(', ')}) => ${changes.body.length}`
Expand Down Expand Up @@ -114,7 +114,7 @@ class GerritClient {
async getMessages(changeNumber: number): Promise<GerritChangeMessageInfo[]> {
const messages = await this.gerritHttp.getJson<GerritChangeMessageInfo[]>(
`a/changes/${changeNumber}/messages`,
{ useCache: false }
{ memCache: false }
);
return messages.body;
}
Expand Down

0 comments on commit ccca52d

Please sign in to comment.