lxd/node/config.go
func (c *Config) Patch(patch map[string]interface{}) (map[string]string, error) {
	values := c.Dump() // Use current values as defaults
	for name, value := range patch {
		values[name] = value
	}

	return c.update(values)
}
func (c *Config) Patch(patch map[string]interface{}) (map[string]string, error) {
	values := c.Dump() // Use current values as defaults
	for name, value := range patch {
		values[name] = value
	}

	return c.update(values)
}
func ( c * Config ) Patch ( patch map [ string ] interface { } ) ( map [ string ] string , error ) { values := c . Dump ( ) // Use current values as defaults for name , value := range patch { values [ name ] = value } return c . update ( values ) }
// Patch changes only the configuration keys in the given map.
Patch changes only the configuration keys in the given map .