auto-cleanup stale default instance config (#6693)
This commit is contained in:
1 parent
e7dc04fe56
commit
24b5bfd77e
3 files changed
+43
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user