make sure we use proper context

This commit is contained in:
Robin Olsen
2026-03-10 12:18:48 +01:00
parent 84a59895a7
commit 4acf12b0da
3 changed files with 7 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ func runStartCmd(cmd *cobra.Command, args []string) error {
var continueWithoutSubmitting bool
for {
db, err := storage.NewMongoStorageInteractive(app.Config.MongoURI)
db, err := storage.NewMongoStorageInteractive(cmd.Context(), app.Config.MongoURI)
if err == nil {
mongoStorage = db
break