From b6987c526aea0b1e43a311fe50512d84916cf512 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 7 Feb 2024 12:33:02 +0100 Subject: [PATCH] Fix docstring Signed-off-by: Evan Lezar --- pkg/config/engine/containerd/config_v1.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/config/engine/containerd/config_v1.go b/pkg/config/engine/containerd/config_v1.go index 5e4099df..30c1f929 100644 --- a/pkg/config/engine/containerd/config_v1.go +++ b/pkg/config/engine/containerd/config_v1.go @@ -19,8 +19,9 @@ package containerd import ( "fmt" - "github.com/NVIDIA/nvidia-container-toolkit/pkg/config/engine" "github.com/pelletier/go-toml" + + "github.com/NVIDIA/nvidia-container-toolkit/pkg/config/engine" ) // ConfigV1 represents a version 1 containerd config @@ -134,7 +135,7 @@ func (c *ConfigV1) RemoveRuntime(name string) error { return nil } -// SetOption sets the specified containerd option. +// Set sets the specified containerd option. func (c *ConfigV1) Set(key string, value interface{}) error { config := *c.Tree config.SetPath([]string{"plugins", "cri", "containerd", key}, value)