mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-09-04 04:31:32 +00:00
remove channel in pod
Signed-off-by: Gao feng <omarapazanadi@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user