mirror of
https://github.com/mudler/luet.git
synced 2025-09-03 00:06:36 +00:00
update vendor
This commit is contained in:
2
vendor/github.com/google/go-containerregistry/pkg/v1/hash.go
generated
vendored
2
vendor/github.com/google/go-containerregistry/pkg/v1/hash.go
generated
vendored
@@ -87,7 +87,7 @@ func Hasher(name string) (hash.Hash, error) {
|
||||
func (h *Hash) parse(unquoted string) error {
|
||||
parts := strings.Split(unquoted, ":")
|
||||
if len(parts) != 2 {
|
||||
return fmt.Errorf("too many parts in hash: %s", unquoted)
|
||||
return fmt.Errorf("cannot parse hash: %q", unquoted)
|
||||
}
|
||||
|
||||
rest := strings.TrimLeft(parts[1], "0123456789abcdef")
|
||||
|
Reference in New Issue
Block a user