Browse Source

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 <github@gone.nl>
Sebastiaan van Stijn 1 year ago
parent
commit
4b09bc2145
1 changed files with 0 additions and 12 deletions
  1. 0 12
      api/types/types_deprecated.go

+ 0 - 12
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].