ADD: added test_podInfo and a bug fix
This commit is contained in:
@@ -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"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user