lnd/cluster
Boris Nagaev dee8ad3754
multi: context.Background() -> t.Context()
Use the new feature of Go 1.24, fix linter warnings.

This change was produced by:
 - running golangci-lint run --fix
 - sed 's/context.Background/t.Context/' -i `git grep -l context.Background | grep test.go`
 - manually fixing broken tests
 - itest, lntest: use ht.Context() where ht or hn is available
 - in HarnessNode.Stop() we keep using context.Background(), because it is
   called from a cleanup handler in which t.Context() is canceled already.
2025-08-30 14:13:44 -03:00
..
etcd_elector.go multi: add leader check to the healthcheck monitor 2024-08-01 19:04:10 +02:00
etcd_elector_factory.go cluster: configurable session TTL for the leader elector 2022-03-22 14:20:36 +01:00
etcd_elector_test.go multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00
factory.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
interface.go multi: add leader check to the healthcheck monitor 2024-08-01 19:04:10 +02:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00