From 4b09bc2145279f61be116cbe3e973973bb654530 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 21 Jan 2024 14:11:56 +0100 Subject: [PATCH] api/types: remove deprecated service-types These types were deprecated in v25.0, and moved to api/types/swarm; This patch removes the aliases for; - api/types.ServiceUpdateResponse (deprecated in 5b3e6555a3e25294630d5013dd3b059c45171dab) - api/types.ServiceCreateResponse (deprecated in ec69501e94d98b7e8d2ae6c62823e245d71d2f9f) Signed-off-by: Sebastiaan van Stijn --- api/types/types_deprecated.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/api/types/types_deprecated.go b/api/types/types_deprecated.go index 38f004a26a..67a01b6577 100644 --- a/api/types/types_deprecated.go +++ b/api/types/types_deprecated.go @@ -3,20 +3,8 @@ package types import ( "github.com/docker/docker/api/types/container" "github.com/docker/docker/api/types/image" - "github.com/docker/docker/api/types/swarm" ) -// ServiceCreateResponse contains the information returned to a client -// on the creation of a new service. -// -// Deprecated: use [swarm.ServiceCreateResponse]. -type ServiceCreateResponse = swarm.ServiceCreateResponse - -// ServiceUpdateResponse service update response. -// -// Deprecated: use [swarm.ServiceUpdateResponse]. -type ServiceUpdateResponse = swarm.ServiceUpdateResponse - // ContainerStartOptions holds parameters to start containers. // // Deprecated: use [container.StartOptions].