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

Method setRestEndpoints

lib/Config.js:2090–2094  ·  view source on GitHub ↗
(restEndpoints)

Source from the content-addressed store, hash-verified

2088 }
2089
2090 setRestEndpoints(restEndpoints) {
2091 restEndpointsAssert(restEndpoints, this.locationConstraints);
2092 this.restEndpoints = restEndpoints;
2093 this.emit('rest-endpoints-update');
2094 }
2095
2096 setLocationConstraints(locationConstraints) {
2097 restEndpointsAssert(this.restEndpoints, locationConstraints);

Callers 2

patchConfigurationFunction · 0.80
bucketPut.jsFile · 0.80

Calls 1

restEndpointsAssertFunction · 0.85

Tested by

no test coverage detected