auto-cleanup stale default instance config (#6693)

This commit is contained in:
canvrno authored and GitHub committed 2025-10-11 23:06:17 -07:00
1 parent e7dc04fe56
commit 24b5bfd77e
3 files changed
+43 -1

No files matched your search

+1 -1
View File
@@ -160,7 +160,7 @@ func (lm *LockManager) RemoveInstanceLock(address string) error {
// HasInstanceAtAddress checks if an instance exists at the given address
func (lm *LockManager) HasInstanceAtAddress(address string) (bool, error) {
if err := lm.ensureConnection(); err != nil {
return false, nil
return false, err
}
query := common.CountInstanceLockSQL