Werk #14555: KUBE: kube_pod_containers replaces \n in check summary

Component Checks & agents
Title KUBE: kube_pod_containers replaces \n in check summary
Date Sep 2, 2022
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.1.0p12 2.2.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously, the check kube_pod_containers would crash with

raise ValueError("'\\n' not allowed in 'summary'")

This was because any linebreak in the detailed description of the container state was written to the checks summary. With this werk, linebreaks are replaced with '; '.

To the list of all Werks