hack/validate: remove obsolete exception

This was added in 20d594fb79, but was
written before the API module was added. Now that the API is a separate
module, the check will no longer flag packages importing the API.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-07-22 23:58:28 +02:00
parent c55a163523
commit 01c7b4233c
3 changed files with 1 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
package stdcopy // Deprecated: use [github.com/docker/docker/api/stdcopy] instead.
package stdcopy // Deprecated: use [github.com/moby/moby/api/stdcopy] instead.
import (
"io"
@@ -6,8 +6,6 @@ import (
"github.com/moby/moby/api/stdcopy"
)
// TODO(thaJeztah): remove exception in hack/make.ps1 and hack/validate/pkg-imports when removing.
// StdType is the type of standard stream
// a writer can multiplex to.
//