Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Nov 28, 2024
1 parent ba7ade2 commit 15c5ef2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/s3routes/routesUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ export const XMLResponseBackend = {
xml.push(
'<?xml version="1.0" encoding="UTF-8"?>',
'<Error>',
`<Code>${errCode.message}</Code>`,
`<Message>${errCode.description}</Message>`,
`<Code>${error.message}</Code>`,
`<Message>${error.description}</Message>`,
);
const invalidArguments = error.metadata.get('invalidArguments') || [];
invalidArguments.forEach((invalidArgument, index) => {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"sproxydclient": "github:scality/sproxydclient#8.1.0",
"utf8": "^3.0.0",
"uuid": "^10.0.0",
"werelogs": "scality/werelogs#8.2.0",
"werelogs": "scality/werelogs#8.2.2",
"xml2js": "^0.6.2"
},
"optionalDependencies": {
Expand Down Expand Up @@ -89,7 +89,7 @@
"build": "tsc",
"prepare": "yarn build",
"ft_test": "jest tests/functional --testTimeout=120000 --forceExit",
"coverage": "nyc --clean jest tests --coverage --testTimeout=120000 --forceExit",
"coverage": "nyc --clean jest tests/unit/s3routes/routesUtils/XMLResponseBackend.spec.js --coverage --testTimeout=120000 --forceExit",
"build_doc": "cd documentation/listingAlgos/pics; dot -Tsvg delimiterStateChart.dot > delimiterStateChart.svg; dot -Tsvg delimiterMasterV0StateChart.dot > delimiterMasterV0StateChart.svg; dot -Tsvg delimiterVersionsStateChart.dot > delimiterVersionsStateChart.svg"
},
"private": true,
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7635,6 +7635,13 @@ werelogs@scality/werelogs#8.2.0:
fast-safe-stringify "^2.1.1"
safe-json-stringify "^1.2.0"

werelogs@scality/werelogs#8.2.2:
version "8.2.2"
resolved "https://codeload.github.com/scality/werelogs/tar.gz/e53bef5145697bf8af940dcbe59408988d64854f"
dependencies:
fast-safe-stringify "^2.1.1"
safe-json-stringify "^1.2.0"

whatwg-url@^11.0.0:
version "11.0.0"
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-11.0.0.tgz#0a849eebb5faf2119b901bb76fd795c2848d4018"
Expand Down

0 comments on commit 15c5ef2

Please sign in to comment.