Skip to content

Commit

Permalink
chore: rename according docker run option --restart
Browse files Browse the repository at this point in the history
  • Loading branch information
whatwewant committed Jan 22, 2024
1 parent b7dd740 commit 05ec7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/docker-container/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (f *factory) New(ctx context.Context, cfg driver.InitConfig) (driver.Driver
d.cpusetMems = v
case k == "cgroup-parent":
d.cgroupParent = v
case k == "restart-policy":
case k == "restart":
vv, err := dockeropts.ParseRestartPolicy(v)
if err != nil {
return nil, err
Expand Down

0 comments on commit 05ec7f0

Please sign in to comment.