We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 527248e + d7a3d93 commit 7b47eeeCopy full SHA for 7b47eee
pkg/config/engine/crio/crio.go
@@ -101,8 +101,12 @@ func (c *Config) RemoveRuntime(name string) error {
101
return nil
102
}
103
104
-// Set is not supported for cri-o configs.
105
-func (c *Config) Set(key string, value interface{}) {}
+// Set sets the specified cri-o option.
+func (c *Config) Set(key string, value interface{}) {
106
+ config := (toml.Tree)(*c)
107
+ config.Set(key, value)
108
+ *c = (Config)(config)
109
+}
110
111
// Save writes the config to the specified path
112
func (c Config) Save(path string) (int64, error) {
0 commit comments