Remove package pkg/ulimit, use go-units instead.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 83237aab2b9430a88790467867505cc9a5147f3e
Component: engine
This commit is contained in:
Daniel Nephin
2015-12-23 13:27:58 -05:00
parent b109cc7bb5
commit 1cfbdcfe91
9 changed files with 26 additions and 192 deletions
@@ -7,7 +7,7 @@ import (
"strings"
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/docker/pkg/ulimit"
"github.com/docker/go-units"
"github.com/go-check/check"
)
@@ -33,7 +33,7 @@ func (s *DockerSuite) TestBuildResourceConstraintsAreUsed(c *check.C) {
CpusetMems string
CPUShares int64
CPUQuota int64
Ulimits []*ulimit.Ulimit
Ulimits []*units.Ulimit
}
cfg, err := inspectFieldJSON(cID, "HostConfig")