Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Jan 17, 2025
1 parent de8b5b3 commit f26a8db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
services:
# Label used to access the service container
redis:
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
compile:
name: Compile and upload build artifacts
needs: test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions lib/storage/metadata/mongoclient/MongoClientInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ class MongoClientInterface {
m.findOneAndDelete({
_id: bucketName,
} , {
includeResultMetadata: true
includeResultMetadata: true,
}, {})
.then(result => {
if (result.ok !== 1) {
Expand Down Expand Up @@ -2653,7 +2653,7 @@ class MongoClientInterface {
}, {
includeResultMetadata: true,
upsert: true,
},).then(res => {
}).then(res => {
if (res.ok !== 1) {
log.error('failed to update object', {
method,
Expand Down

0 comments on commit f26a8db

Please sign in to comment.