mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-12 22:47:09 +08:00
Bump microsoft/hcsshim to v0.8.7
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
This commit is contained in:
6
vendor/github.com/Microsoft/hcsshim/layer.go
generated
vendored
6
vendor/github.com/Microsoft/hcsshim/layer.go
generated
vendored
@ -4,7 +4,7 @@ import (
|
||||
"crypto/sha1"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/Microsoft/hcsshim/internal/guid"
|
||||
"github.com/Microsoft/go-winio/pkg/guid"
|
||||
"github.com/Microsoft/hcsshim/internal/wclayer"
|
||||
)
|
||||
|
||||
@ -77,7 +77,7 @@ type GUID [16]byte
|
||||
|
||||
func NameToGuid(name string) (id GUID, err error) {
|
||||
g, err := wclayer.NameToGuid(name)
|
||||
return GUID(g), err
|
||||
return g.ToWindowsArray(), err
|
||||
}
|
||||
|
||||
func NewGUID(source string) *GUID {
|
||||
@ -88,7 +88,7 @@ func NewGUID(source string) *GUID {
|
||||
}
|
||||
|
||||
func (g *GUID) ToString() string {
|
||||
return (guid.GUID)(*g).String()
|
||||
return guid.FromWindowsArray(*g).String()
|
||||
}
|
||||
|
||||
type LayerReader = wclayer.LayerReader
|
||||
|
Reference in New Issue
Block a user