remove channel in pod

Signed-off-by: Gao feng <omarapazanadi@gmail.com>
This commit is contained in:
Gao feng
2015-08-27 22:42:57 +08:00
parent 458795b4b2
commit 01f07fb952
3 changed files with 0 additions and 5 deletions
-1
View File
@@ -40,7 +40,6 @@ struct hyper_pod {
struct list_head ce_head;
char *hostname;
char *tag;
char *channel;
int init_pid;
uint32_t c_num;
uint32_t i_num;
-1
View File
@@ -657,7 +657,6 @@ static int hyper_stop_pod(struct hyper_pod *pod)
hyper_cleanup_network(pod);
hyper_cleanup_shared(pod);
free(pod->channel);
free(pod->hostname);
sync();
-3
View File
@@ -437,9 +437,6 @@ realloc:
goto out;
i += next;
} else if (json_token_streq(json, t, "socket") && t->size == 1) {
pod->channel = strdup(json_token_str(json, &toks[++i]));
fprintf(stdout, "channel is %s\n", pod->channel);
} else if (json_token_streq(json, t, "shareDir") && t->size == 1) {
pod->tag = strdup(json_token_str(json, &toks[++i]));
fprintf(stdout, "9p tag is %s\n", pod->tag);