MYNEWT-651; was using uppercase names in json for memory region data.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/8b843ab4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/8b843ab4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/8b843ab4 Branch: refs/heads/mynewt_1_0_0 Commit: 8b843ab4a4fa843e033981f64e942aa76201ee58 Parents: 9691f96 Author: Marko Kiiskila <[email protected]> Authored: Thu Mar 2 13:40:00 2017 -0800 Committer: Marko Kiiskila <[email protected]> Committed: Mon Mar 6 13:38:38 2017 -0800 ---------------------------------------------------------------------- newt/image/image.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/8b843ab4/newt/image/image.go ---------------------------------------------------------------------- diff --git a/newt/image/image.go b/newt/image/image.go index 38715e3..82ce3e4 100644 --- a/newt/image/image.go +++ b/newt/image/image.go @@ -119,8 +119,8 @@ const ( * Data that's going to go to build manifest file */ type ImageManifestSizeArea struct { - Name string - Size uint32 + Name string `json:"name"` + Size uint32 `json:"size"` } type ImageManifestSizeSym struct {
