We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16da4de + 0693b93 commit d32dc0eCopy full SHA for d32dc0e
contrib/nvidia/nvidia.go
@@ -87,7 +87,7 @@ func WithGPUs(opts ...Opts) oci.SpecOpts {
87
if s.Hooks == nil {
88
s.Hooks = &specs.Hooks{}
89
}
90
- s.Hooks.Prestart = append(s.Hooks.Prestart, specs.Hook{
+ s.Hooks.CreateRuntime = append(s.Hooks.CreateRuntime, specs.Hook{
91
Path: c.OCIHookPath,
92
Args: append([]string{
93
"containerd",
integration/client/container_test.go
@@ -1737,7 +1737,7 @@ func TestContainerHook(t *testing.T) {
1737
if err != nil {
1738
return err
1739
1740
- s.Hooks.Prestart = []specs.Hook{
+ s.Hooks.CreateRuntime = []specs.Hook{
1741
{
1742
Path: path,
1743
Args: []string{
0 commit comments