Commit 15fe35c6 authored by Quinton.Xu's avatar Quinton.Xu

remove console log

parent 2e4884b0
...@@ -106,7 +106,6 @@ module.exports = { ...@@ -106,7 +106,6 @@ module.exports = {
assert(appId, 'appId is required'); assert(appId, 'appId is required');
assert(clusterName, 'clusterName is required'); assert(clusterName, 'clusterName is required');
if (Array.isArray(namespaceName)) { if (Array.isArray(namespaceName)) {
console.log( [`${configServerUrl}/configs/${appId}/${clusterName}/application?releaseKey=${releaseKey}&ip=${clientIp}`])
if (namespaceName.length === 0) return [`${configServerUrl}/configs/${appId}/${clusterName}/application?releaseKey=${releaseKey}&ip=${clientIp}`]; if (namespaceName.length === 0) return [`${configServerUrl}/configs/${appId}/${clusterName}/application?releaseKey=${releaseKey}&ip=${clientIp}`];
return namespaceName.map(n => `${configServerUrl}/configs/${appId}/${clusterName}/${n}?releaseKey=${releaseKey}&ip=${clientIp}`); return namespaceName.map(n => `${configServerUrl}/configs/${appId}/${clusterName}/${n}?releaseKey=${releaseKey}&ip=${clientIp}`);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment