Browse Source

Remove DiskQouta field.

Signed-off-by: Yash Murty <yashmurty@gmail.com>
Yash Murty 6 years ago
parent
commit
a31a088665
3 changed files with 0 additions and 6 deletions
  1. 0 4
      api/swagger.yaml
  2. 0 1
      api/types/container/host_config.go
  3. 0 1
      container/container_windows.go

+ 0 - 4
api/swagger.yaml

@@ -463,10 +463,6 @@ definitions:
         type: "array"
         type: "array"
         items:
         items:
           $ref: "#/definitions/DeviceRequest"
           $ref: "#/definitions/DeviceRequest"
-      DiskQuota:
-        description: "Disk limit (in bytes)."
-        type: "integer"
-        format: "int64"
       KernelMemory:
       KernelMemory:
         description: "Kernel memory limit in bytes."
         description: "Kernel memory limit in bytes."
         type: "integer"
         type: "integer"

+ 0 - 1
api/types/container/host_config.go

@@ -338,7 +338,6 @@ type Resources struct {
 	Devices              []DeviceMapping // List of devices to map inside the container
 	Devices              []DeviceMapping // List of devices to map inside the container
 	DeviceCgroupRules    []string        // List of rule to be added to the device cgroup
 	DeviceCgroupRules    []string        // List of rule to be added to the device cgroup
 	DeviceRequests       []DeviceRequest // List of device requests for device drivers
 	DeviceRequests       []DeviceRequest // List of device requests for device drivers
-	DiskQuota            int64           // Disk limit (in bytes)
 	KernelMemory         int64           // Kernel memory limit (in bytes)
 	KernelMemory         int64           // Kernel memory limit (in bytes)
 	KernelMemoryTCP      int64           // Hard limit for kernel TCP buffer memory (in bytes)
 	KernelMemoryTCP      int64           // Hard limit for kernel TCP buffer memory (in bytes)
 	MemoryReservation    int64           // Memory soft limit (in bytes)
 	MemoryReservation    int64           // Memory soft limit (in bytes)

+ 0 - 1
container/container_windows.go

@@ -153,7 +153,6 @@ func (container *Container) UpdateContainer(hostConfig *containertypes.HostConfi
 		resources.CpusetMems != "" ||
 		resources.CpusetMems != "" ||
 		len(resources.Devices) != 0 ||
 		len(resources.Devices) != 0 ||
 		len(resources.DeviceCgroupRules) != 0 ||
 		len(resources.DeviceCgroupRules) != 0 ||
-		resources.DiskQuota != 0 ||
 		resources.KernelMemory != 0 ||
 		resources.KernelMemory != 0 ||
 		resources.MemoryReservation != 0 ||
 		resources.MemoryReservation != 0 ||
 		resources.MemorySwap != 0 ||
 		resources.MemorySwap != 0 ||