mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-16 18:22:59 +03:00
fix: linter issues (#719)
This commit is contained in:
committed by
GitHub
parent
1a41b05f60
commit
43f0114c57
@@ -55,6 +55,8 @@ func Bootstrap(ctx context.Context) error {
|
|||||||
|
|
||||||
// Invoke all shutdown functions
|
// Invoke all shutdown functions
|
||||||
// We give these a timeout of 5s
|
// We give these a timeout of 5s
|
||||||
|
// Note: we use a background context because the run context has been canceled already
|
||||||
|
// nolint:contextcheck
|
||||||
shutdownCtx, shutdownCancel := context.WithTimeout(context.Background(), 5*time.Second)
|
shutdownCtx, shutdownCancel := context.WithTimeout(context.Background(), 5*time.Second)
|
||||||
defer shutdownCancel()
|
defer shutdownCancel()
|
||||||
err = utils.
|
err = utils.
|
||||||
|
|||||||
Reference in New Issue
Block a user