• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elastic / cloudbeat / 16829946295
76%

Build:
DEFAULT BRANCH: main
Ran 08 Aug 2025 12:18PM UTC
Jobs 1
Files 228
Run time 178min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Aug 2025 12:04PM UTC coverage: 76.151% (+0.07%) from 76.084%
16829946295

push

github

web-flow
NewLeaderElector: Remove nil k8s client check (#3512)

Pulling this change out from my work on #3442 to simplify the PR.

There are two points that call NewLeaderElector: `benchmark/k8s.go` and
`benchmark/eks.go`. Both provide the `kubeClient` argument that is
received by `ClientProvider.GetClient`. Diggining in `GetClient`, it
ultimately comes from `kubernetes.GetKubernetesClient()` which only
returns a `nil` client when `err != nil` which means that
`NewLeaderElector` can never receive a nil client.

Removes the `DefaultUniqueManager` and simplifies the leader election logic.
The `NewLeaderElector` function will now always return a
`LeaderelectionManager` and will not fall back to a default manager.

2 of 2 new or added lines in 1 file covered. (100.0%)

9474 of 12441 relevant lines covered (76.15%)

16.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 16829946295.1 08 Aug 2025 12:18PM UTC 228
76.15
GitHub Action Run
Source Files on build 16829946295
  • Tree
  • List 228
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 735f9bf6 on github
  • Prev Build on main (#16751400966)
  • Next Build on main (#16880378546)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc