in src/cloud-sql-instance.ts [364:377]
async checkDomainChanged() {
if (!this.instanceInfo.domainName) {
return;
}
const newInfo = await resolveInstanceName(
undefined,
this.instanceInfo.domainName
);
if (!isSameInstance(this.instanceInfo, newInfo)) {
// Domain name changed. Close and remove, then create a new map entry.
this.close();
}
}