Remove unnecessary condition
This commit is contained in:
parent
b19af6d421
commit
def0553167
2
main.go
2
main.go
@ -97,7 +97,7 @@ func main() {
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
// Add the index store to the combined store for the repo
|
// Add the index store to the combined store for the repo
|
||||||
cs.Add(s)
|
cs.Add(s)
|
||||||
} else if err != nil {
|
} else {
|
||||||
log.Error("Error opening database", slog.Any("error", err))
|
log.Error("Error opening database", slog.Any("error", err))
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user