ADD: added test_podInfo and a bug fix

This commit is contained in:
Henry Winkel
2023-10-26 15:02:01 +02:00
parent 96d1e3e2af
commit 7938112f5c
4 changed files with 41 additions and 4 deletions

View File

@@ -25,11 +25,9 @@ namespace kubecontrol
void PodInfo::update(std::string response)
{
nlohmann::json j;
try
{
j = nlohmann::json::parse(response);
nlohmann::json j = nlohmann::json::parse(response);
if (j.contains("items"))
{