mirror of
https://github.com/containers/skopeo.git
synced 2025-06-28 23:57:51 +00:00
Merge pull request #514 from giuseppe/vndr-c-image
vendor: update containers/image
This commit is contained in:
commit
0144aa8dc5
4
vendor/github.com/containers/image/ostree/ostree_dest.go
generated
vendored
4
vendor/github.com/containers/image/ostree/ostree_dest.go
generated
vendored
@ -14,6 +14,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"runtime"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"syscall"
|
"syscall"
|
||||||
@ -394,6 +395,9 @@ func (d *ostreeImageDestination) PutSignatures(ctx context.Context, signatures [
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (d *ostreeImageDestination) Commit(ctx context.Context) error {
|
func (d *ostreeImageDestination) Commit(ctx context.Context) error {
|
||||||
|
runtime.LockOSThread()
|
||||||
|
defer runtime.UnlockOSThread()
|
||||||
|
|
||||||
repo, err := otbuiltin.OpenRepo(d.ref.repo)
|
repo, err := otbuiltin.OpenRepo(d.ref.repo)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user