cli/command/system: remove uses of pkg/errors in tests

While there may be reasons to keep pkg/errors in production code,
we don't need them for these tests.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2025-02-01 14:52:03 +01:00
parent 694d248001
commit a85a94f46b
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -2,6 +2,7 @@ package system
import (
"context"
"errors"
"io"
"testing"
@ -10,7 +11,6 @@ import (
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/api/types/network"
"github.com/pkg/errors"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)