Sfoglia il codice sorgente

Remove log warning on task update

This warning appears in the course of normal use of swarm mode. Since
it's meant more as an internal TODO than something which should be
exposed to a user, remove the log message.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit 39c93cfb47783f2531ba44f062fd9a8b351d2224)
Aaron Lehmann 9 anni fa
parent
commit
72bb109a68
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      daemon/cluster/executor/container/controller.go

+ 0 - 1
daemon/cluster/executor/container/controller.go

@@ -59,7 +59,6 @@ func (r *controller) ContainerStatus(ctx context.Context) (*api.ContainerStatus,
 
 // Update tasks a recent task update and applies it to the container.
 func (r *controller) Update(ctx context.Context, t *api.Task) error {
-	log.G(ctx).Warnf("task updates not yet supported")
 	// TODO(stevvooe): While assignment of tasks is idempotent, we do allow
 	// updates of metadata, such as labelling, as well as any other properties
 	// that make sense.