Remove unused image/v1 code
This image format is only used for docker save / docker load. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
09f05a4bcb
commit
2004c507ab
1 changed files with 0 additions and 6 deletions
|
@ -9,7 +9,6 @@ import (
|
|||
"github.com/docker/docker/api/types/versions"
|
||||
"github.com/docker/docker/image"
|
||||
"github.com/docker/docker/layer"
|
||||
"github.com/docker/docker/pkg/stringid"
|
||||
"github.com/opencontainers/go-digest"
|
||||
)
|
||||
|
||||
|
@ -113,8 +112,3 @@ func rawJSON(value interface{}) *json.RawMessage {
|
|||
}
|
||||
return (*json.RawMessage)(&jsonval)
|
||||
}
|
||||
|
||||
// ValidateID checks whether an ID string is a valid image ID.
|
||||
func ValidateID(id string) error {
|
||||
return stringid.ValidateID(id)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue