Skip to content

Commit

Permalink
Merge pull request #1174 from France-ioi/propagation_do_not_close_db_…
Browse files Browse the repository at this point in the history
…explicitly

Do not close the db connection explicitly in the propagation command
  • Loading branch information
zenovich authored Sep 20, 2024
2 parents a7c4bea + 8f99c8c commit 083f9c9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/propagation.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ func init() { //nolint:gochecknoinits
}

fmt.Println("Propagation done.")

// Close database connection.
if application.Database.Close() != nil {
fmt.Println("Cannot close DB connection:", err)
os.Exit(1)
}
},
}

Expand Down

0 comments on commit 083f9c9

Please sign in to comment.