summaryrefslogtreecommitdiffhomepage
path: root/pkg/shim/v1/proc/init_state.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-13 03:14:41 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-13 03:14:41 +0000
commitcba40228f795bbfa55c0137cd54e1623be522a65 (patch)
tree5c21a792e766294a9be4886184463628bc599ad8 /pkg/shim/v1/proc/init_state.go
parent77f5e9c854ade3ac6c0b602ed338800f61bd6184 (diff)
parentcf47c8b4a5d22f317cb88ee1c11b5c695c508d1f (diff)
Merge release-20201030.0-81-gcf47c8b4a (automated)
Diffstat (limited to 'pkg/shim/v1/proc/init_state.go')
-rw-r--r--pkg/shim/v1/proc/init_state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/shim/v1/proc/init_state.go b/pkg/shim/v1/proc/init_state.go
index 9233ecc85..0065fc385 100644
--- a/pkg/shim/v1/proc/init_state.go
+++ b/pkg/shim/v1/proc/init_state.go
@@ -95,7 +95,7 @@ func (s *createdState) SetExited(status int) {
}
func (s *createdState) Exec(ctx context.Context, path string, r *ExecConfig) (process.Process, error) {
- return s.p.exec(ctx, path, r)
+ return s.p.exec(path, r)
}
type runningState struct {
@@ -137,7 +137,7 @@ func (s *runningState) SetExited(status int) {
}
func (s *runningState) Exec(ctx context.Context, path string, r *ExecConfig) (process.Process, error) {
- return s.p.exec(ctx, path, r)
+ return s.p.exec(path, r)
}
type stoppedState struct {