Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b82fadc

Browse filesBrowse files
committed
Merge branch '109-delete-hanging-clones' into 'master'
fix: remove hanging clones (#109) See merge request postgres-ai/database-lab!90
2 parents 595c508 + c9dc64c commit b82fadc
Copy full SHA for b82fadc

File tree

1 file changed

+3
-1
lines changed
Filter options

1 file changed

+3
-1
lines changed

‎pkg/services/cloning/mode_base.go

Copy file name to clipboardExpand all lines: pkg/services/cloning/mode_base.go
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ func (c *baseCloning) DestroyClone(cloneID string) error {
208208
}
209209

210210
if w.session == nil {
211-
return errors.New("clone is not started yet")
211+
c.deleteClone(cloneID)
212+
213+
return nil
212214
}
213215

214216
go func() {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.