Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 1bbffe25d2166caa7c3553af4af221a0038a3f19
https://github.com/tribe29/checkmk/commit/1bbffe25d2166caa7c3553af4af221a00…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2021-10-08 (Fri, 08 Oct 2021)
Changed paths:
A .werks/13128
M checks/agent_vsphere
M tests/unit/checks/test_agent_vsphere.py
Log Message:
-----------
13128 FIX agent_vsphere: Fix bug occuring when vSphere secret has a special format
When specifying a vSphere secret starting with a dash (a "-"), the vsphere
special agent will run into an error, because the secret will get recognized
as an additional command line argument by it's argument parser.
This is fixed now by passing this argument in a more robust way.
SUP-7465, SUP-7961
Change-Id: I92fe1033dd51ee2507d7ed8fbe691074965e2341