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

zalando / postgres-operator / 44508038069
45%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2026 10:42AM UTC
Jobs 1
Files 76
Run time 1min
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

19 Nov 2026 10:41AM UTC coverage: 45.044%. Remained the same
44508038069

push

github

web-flow
Avoid panic in Patroni GetConfig when postgresql has no parameters (#3245)

GetConfig parses the Patroni /config response into a generic map and then
type-asserts pgConfig["postgresql"] and its "parameters" child directly.
When the postgresql section is present but has no parameters key (a cluster
with no custom Postgres parameters), or is null, the unchecked assertion on
the nil interface panics with 'interface conversion: interface {} is nil,
not map[string]interface {}', aborting the config sync.

Use comma-ok assertions so a missing or non-object postgresql/parameters
section yields an empty parameter map instead of panicking.

AI-assisted; directed, reviewed and tested by the author.

Co-authored-by: Amal Saidov <amalsaidov@users.noreply.github.com>

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

7103 of 15769 relevant lines covered (45.04%)

21.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44508038069.1 19 Nov 2026 10:42AM UTC 76
45.04
GitHub Action Run
Source Files on build 44508038069
  • Tree
  • List 76
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44508038069
  • ae10181a on github
  • Prev Build on master (#44507936591)
  • Next Build on master (#44587072489)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc