Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: f40f020d1cff83507a17e21e1b1d5688834cfdec
https://github.com/tribe29/checkmk/commit/f40f020d1cff83507a17e21e1b1d56888…
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