From 56e690f340e030027ed1b5503bbde06e5a879518 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 5 Aug 2019 16:04:29 +0200 Subject: [PATCH] cluster/executor: remove unused containerConfig.endpoint() Signed-off-by: Sebastiaan van Stijn --- daemon/cluster/executor/container/container.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/daemon/cluster/executor/container/container.go b/daemon/cluster/executor/container/container.go index 8748ea7ad3..8ad12d6e5d 100644 --- a/daemon/cluster/executor/container/container.go +++ b/daemon/cluster/executor/container/container.go @@ -98,10 +98,6 @@ func (c *containerConfig) taskID() string { return c.task.ID } -func (c *containerConfig) endpoint() *api.Endpoint { - return c.task.Endpoint -} - func (c *containerConfig) spec() *api.ContainerSpec { return c.task.Spec.GetContainer() }