Просмотр исходного кода

api/types: remove aliases for deprecated Volume and VolumeUsageData

These were moved, and deprecated in f19ef20a4414a6f63da8fb2493e6010359652ad1 and
4caf68f4f60cddbe95f71b5a395e022ccc8cbf16, which are part of the 22.x release, so
we can safely remove these from master.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 2 лет назад
Родитель
Сommit
4a8b3b8bc5
1 измененных файлов с 0 добавлено и 14 удалено
  1. 0 14
      api/types/deprecated.go

+ 0 - 14
api/types/deprecated.go

@@ -1,14 +0,0 @@
-package types // import "github.com/docker/docker/api/types"
-
-import "github.com/docker/docker/api/types/volume"
-
-// Volume volume
-//
-// Deprecated: use github.com/docker/docker/api/types/volume.Volume
-type Volume = volume.Volume
-
-// VolumeUsageData Usage details about the volume. This information is used by the
-// `GET /system/df` endpoint, and omitted in other endpoints.
-//
-// Deprecated: use github.com/docker/docker/api/types/volume.UsageData
-type VolumeUsageData = volume.UsageData