Merge pull request #7254 from mxpv/go

Switch to Go 1.19
This commit is contained in:
Maksym Pavlenko
2022-08-10 12:12:49 -07:00
committed by GitHub
59 changed files with 256 additions and 229 deletions

View File

@@ -591,7 +591,8 @@ func WithNamespacedCgroup() SpecOpts {
// WithUser sets the user to be used within the container.
// It accepts a valid user string in OCI Image Spec v1.0.0:
// user, uid, user:group, uid:gid, uid:group, user:gid
//
// user, uid, user:group, uid:gid, uid:group, user:gid
func WithUser(userstr string) SpecOpts {
return func(ctx context.Context, client Client, c *containers.Container, s *Spec) error {
setProcess(s)