From d359c6bf9b8480ce747295f56913a521c8ab7c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Fri, 14 Jun 2024 12:48:09 +0200 Subject: [PATCH] containers: Remove empty entrypoint This made it impossible to use the "command" in container configuration. This fix issue #476 --- src/confd/src/infix-containers.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/confd/src/infix-containers.c b/src/confd/src/infix-containers.c index 415dff3c9..6f9c477c5 100644 --- a/src/confd/src/infix-containers.c +++ b/src/confd/src/infix-containers.c @@ -166,9 +166,6 @@ static int add(const char *name, struct lyd_node *cif) if (lydx_is_enabled(cif, "manual")) fprintf(fp, " --manual"); - if ((string = lydx_get_cattr(cif, "command"))) - fprintf(fp, " --entrypoint"); - fprintf(fp, " create %s %s", name, image); if ((string = lydx_get_cattr(cif, "command")))