ccollins476ad opened a new pull request #134: newt - Fix `target set syscfg` URL: https://github.com/apache/mynewt-newt/pull/134 This fixes a bug introduced by b2222ac22e3969863f7d3743920472f6e962f603. After that commit, `target set sycfg` and `target amend syscfg` have been broken. Both of these commands would delete the target's `syscfg.yml` file without adding any new content! The problem was that YCfg attempted to interpret a `map[string]string` as a `map[string]interface{}`. This is an invalid conversion, so the `cast` library returned an empty map. The fix is cast to `map[string]string` via a new function: `YCfg#GetStringMapString()`. String slices were affected by a similar bug. This commit fixes that as well.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services