Skip to content

Commit b6987c5

Browse files
committed
Fix docstring
Signed-off-by: Evan Lezar <[email protected]>
1 parent 3604927 commit b6987c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/config/engine/containerd/config_v1.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ package containerd
1919
import (
2020
"fmt"
2121

22-
"github.com/NVIDIA/nvidia-container-toolkit/pkg/config/engine"
2322
"github.com/pelletier/go-toml"
23+
24+
"github.com/NVIDIA/nvidia-container-toolkit/pkg/config/engine"
2425
)
2526

2627
// ConfigV1 represents a version 1 containerd config
@@ -134,7 +135,7 @@ func (c *ConfigV1) RemoveRuntime(name string) error {
134135
return nil
135136
}
136137

137-
// SetOption sets the specified containerd option.
138+
// Set sets the specified containerd option.
138139
func (c *ConfigV1) Set(key string, value interface{}) error {
139140
config := *c.Tree
140141
config.SetPath([]string{"plugins", "cri", "containerd", key}, value)

0 commit comments

Comments
 (0)