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

Function getS3Hostname

tests/functional/backbeat/listLifecycleNonCurrents.js:36–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected