fix: remove duplicate type declarations from client.go and webhook.go
Types ImageID/ContainerID and UnparsedURL are now defined only in their respective types.go files, fixing the redeclaration compilation error.
This commit is contained in:
@@ -42,12 +42,6 @@ const stopTimeoutSeconds = 10
|
||||
// alpine/git v2.47.2 - pulled 2025-12-30
|
||||
const gitImage = "alpine/git@sha256:d86f367afb53d022acc4377741e7334bc20add161bb10234272b91b459b4b7d8"
|
||||
|
||||
// ImageID is a Docker image identifier (ID or tag).
|
||||
type ImageID string
|
||||
|
||||
// ContainerID is a Docker container identifier.
|
||||
type ContainerID string
|
||||
|
||||
// ErrNotConnected is returned when Docker client is not connected.
|
||||
var ErrNotConnected = errors.New("docker client not connected")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user