Skip to content

Commit

Permalink
fix: wrong assignment after enforcing a policy (microsoft#1559)
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim An <maksiman@microsoft.com>
  • Loading branch information
anmaxvl authored Nov 3, 2022
1 parent fbda1d5 commit 49eccdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guest/runtime/hcsv2/uvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ func (h *Host) ExecProcess(ctx context.Context, containerID string, params prot.
}

if envToKeep != nil {
params.OCIProcess.Args = envToKeep
params.OCIProcess.Env = envToKeep
}

pid, err = c.ExecProcess(ctx, params.OCIProcess, conSettings)
Expand Down

0 comments on commit 49eccdc

Please sign in to comment.