Commit fe4fa169 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 07875a82
......@@ -160,7 +160,7 @@ async function RemovedByIp(dc, ip) {
let ips = await getAllIps(dc)
for (let i = 0; i < ips.length; i++) {
if (ips[i].Value === ip) {
if (ips[i].Value === ip && ip !==masterIp) {
await deleteIp(foundDc, ips[i].ResourceId)
break
}
......
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