Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 0fb917f

Browse files
Merge component 'engine' from [email protected]:docker/engine master
2 parents d73611c + d6fccc2 commit 0fb917f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/engine/integration-cli/docker_utils_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func getContainerCount(c *check.C) int {
6363
for _, line := range lines {
6464
if strings.Contains(line, containers) {
6565
output := strings.TrimSpace(line)
66-
output = strings.TrimLeft(output, containers)
66+
output = strings.TrimPrefix(output, containers)
6767
output = strings.Trim(output, " ")
6868
containerCount, err := strconv.Atoi(output)
6969
assert.NilError(c, err)

0 commit comments

Comments
 (0)