fix(confix): wrong key set using set command (#14962)

Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
Julien Robert
2023-02-09 06:03:23 +00:00
committed by GitHub
co-authored by Marko
parent 0bbf4b9906
commit 3dc569e0d2
5 changed files with 588 additions and 12 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ func SetCommand() *cobra.Command {
if ok := transform.InsertMapping(results[0].Section, &parser.KeyValue{
Block: results[0].Block,
Name: key,
Name: results[0].Name,
Value: value,
}, true); !ok {
return errors.New("failed to set value")