MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / normalizeIpAddress

Function normalizeIpAddress

server/modules/outboundTargetPolicy.js:121–125  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

119}
120
121function normalizeIpAddress(address) {
122 return String(address || "")
123 .trim()
124 .toLowerCase();
125}
126
127function isMetadataHostname(hostname) {
128 return METADATA_HOSTNAMES.has(hostname);

Callers 1

resolveTargetAddressesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected