kvdb+watchtower: fix unreachable code

This commit is contained in:
undefinedor committed 2024-03-25 21:04:48 +08:00
1 parent 1422df27b2
commit 028959f5a0
3 files changed
+3 -7

No files matched your search

-2
View File
@@ -301,6 +301,4 @@ func GetTestBackend(path, name string) (Backend, func(), error) {
}
return db, empty, nil
}
return nil, nil, fmt.Errorf("unknown backend")
}