mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #30790 from vdemeester/pr-30602
Carry #30602 : Bump go-units
This commit is contained in:
commit
31f172bdb5
9 changed files with 45 additions and 45 deletions
|
@ -151,7 +151,7 @@ func (s *DockerSuite) TestPsListContainersSize(c *check.C) {
|
||||||
baseLines := strings.Split(strings.Trim(baseOut, "\n "), "\n")
|
baseLines := strings.Split(strings.Trim(baseOut, "\n "), "\n")
|
||||||
baseSizeIndex := strings.Index(baseLines[0], "SIZE")
|
baseSizeIndex := strings.Index(baseLines[0], "SIZE")
|
||||||
baseFoundsize := baseLines[1][baseSizeIndex:]
|
baseFoundsize := baseLines[1][baseSizeIndex:]
|
||||||
baseBytes, err := strconv.Atoi(strings.Split(baseFoundsize, " ")[0])
|
baseBytes, err := strconv.Atoi(strings.Split(baseFoundsize, "B")[0])
|
||||||
c.Assert(err, checker.IsNil)
|
c.Assert(err, checker.IsNil)
|
||||||
|
|
||||||
name := "test_size"
|
name := "test_size"
|
||||||
|
|
|
@ -87,7 +87,7 @@ func TestJSONFormatProgress(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// The progress will always be in the format of:
|
// The progress will always be in the format of:
|
||||||
// [=========================> ] 15 B/30 B 404933h7m11s
|
// [=========================> ] 15B/30B 412910h51m30s
|
||||||
// The last entry '404933h7m11s' is the timeLeftBox.
|
// The last entry '404933h7m11s' is the timeLeftBox.
|
||||||
// However, the timeLeftBox field may change as progress.String() depends on time.Now().
|
// However, the timeLeftBox field may change as progress.String() depends on time.Now().
|
||||||
// Therefore, we have to strip the timeLeftBox from the strings to do the comparison.
|
// Therefore, we have to strip the timeLeftBox from the strings to do the comparison.
|
||||||
|
|
|
@ -15,7 +15,7 @@ github.com/vdemeester/shakers 24d7f1d6a71aa5d9cbe7390e4afb66b7eef9e1b3
|
||||||
# forked golang.org/x/net package includes a patch for lazy loading trace templates
|
# forked golang.org/x/net package includes a patch for lazy loading trace templates
|
||||||
golang.org/x/net 2beffdc2e92c8a3027590f898fe88f69af48a3f8 https://github.com/tonistiigi/net.git
|
golang.org/x/net 2beffdc2e92c8a3027590f898fe88f69af48a3f8 https://github.com/tonistiigi/net.git
|
||||||
golang.org/x/sys 8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9
|
golang.org/x/sys 8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9
|
||||||
github.com/docker/go-units e30f1e79f3cd72542f2026ceec18d3bd67ab859c
|
github.com/docker/go-units 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1
|
||||||
github.com/docker/go-connections 4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366
|
github.com/docker/go-connections 4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366
|
||||||
|
|
||||||
github.com/RackSec/srslog 456df3a81436d29ba874f3590eeeee25d666f8a5
|
github.com/RackSec/srslog 456df3a81436d29ba874f3590eeeee25d666f8a5
|
||||||
|
|
Loading…
Add table
Reference in a new issue