pass config context when running apps

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-07-24 13:30:42 +02:00
parent 7a22dfb6de
commit 008f379a01
42 changed files with 42 additions and 42 deletions

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -25,5 +25,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -31,5 +31,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -33,7 +33,7 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}
// SutureService allows for the accounts command to be embedded and supervised by a suture supervisor tree.

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -25,5 +25,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Usage: "Serve Graph API for oCIS",
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -31,5 +31,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -25,5 +25,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -31,5 +31,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -31,5 +31,5 @@ func Execute(cfg *config.Config) error {
Usage: "Serve search API for oCIS",
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -26,5 +26,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -32,5 +32,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}

View File

@@ -30,5 +30,5 @@ func Execute(cfg *config.Config) error {
Commands: GetCommands(cfg),
})
return app.Run(os.Args)
return app.RunContext(cfg.Context, os.Args)
}