ADD: beautified the class and removed unnecessary class
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
#include <kubecontrol/PodController.hpp>
|
||||
#include <kubecontrol/KubePod.hpp>
|
||||
#include "curlpp/Options.hpp"
|
||||
#include "kubecontrol/Container.hpp"
|
||||
#include "kubecontrol/Utils.hpp"
|
||||
@@ -10,15 +10,11 @@
|
||||
#include <fstream>
|
||||
#include <future>
|
||||
#include <iterator>
|
||||
#include <kubecontrol/KubePod.hpp>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <filesystem>
|
||||
#include "loguru.hpp"
|
||||
#include "yaml-cpp/node/node.h"
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +33,7 @@ namespace kubecontrol
|
||||
|
||||
|
||||
// EnvirmonentVars_ = std::map<std::string, std::string>();
|
||||
|
||||
|
||||
this->PathToYaml_ = "config/pods/" + this->Uuid_ + ".yaml";
|
||||
|
||||
if( !std::filesystem::directory_entry("config").exists())
|
||||
|
||||
Reference in New Issue
Block a user