diff --git a/pkg/container/id.go b/pkg/container/id.go index 5bccc073..50467988 100644 --- a/pkg/container/id.go +++ b/pkg/container/id.go @@ -33,10 +33,6 @@ func (id *ID) ToV2() *refs.ContainerID { } func IDFromV2(idV2 *refs.ContainerID) (*ID, error) { - if idV2 == nil { - return nil, nil - } - val := idV2.GetValue() if ln := len(val); ln != sha256.Size { return nil, errors.Errorf(