+ std::string pod = conf.getStringValue("pod_name");
+ if (pod.length() == 0) {
+ mdclog_write(MDCLOG_ERR, "illigal pod_name in config file");
+ exit(-1);
+ }
+ auto *podName = getenv(pod.c_str());
+ if (podName == nullptr) {
+ mdclog_write(MDCLOG_ERR, "illigal pod_name or environment varible not exists : %s", pod.c_str());
+ exit(-1);
+
+ } else {
+ sctpParams.podName.assign(podName);
+ if (sctpParams.podName.length() == 0) {
+ mdclog_write(MDCLOG_ERR, "illigal pod_name");
+ exit(-1);
+ }
+ }
+