MCPcopy
hub / github.com/scality/cloudserver / getS3Hostname

Function getS3Hostname

tests/functional/backbeat/listLifecycleCurrents.js:33–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33async function getS3Hostname() {
34 const endpoint = await s3.config.endpoint();
35 s3Hostname = endpoint.hostname;
36 location = config.restEndpoints[s3Hostname] || config.restEndpoints.localhost;
37 return s3Hostname;
38}
39
40function checkContents(contents, expectedKeyVersions) {
41 contents.forEach(d => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected