replace deprecated docker types

This commit is contained in:
yusing
2025-02-24 06:10:46 +08:00
parent baebede816
commit 080c1cee4f
3 changed files with 16 additions and 14 deletions

View File

@@ -3,12 +3,12 @@ package docker
import (
"strings"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/container"
"github.com/yusing/go-proxy/internal/utils/strutils"
)
type containerHelper struct {
*types.Container
*container.Summary
}
// getDeleteLabel gets the value of a label and then deletes it from the container.