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/15cfc602 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/15cfc602 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/15cfc602 Branch: refs/heads/develop Commit: 15cfc6028d3d5ccd7ebf2a4727c002103ea49a08 Parents: 38d3bc2 Author: Marko Kiiskila <ma...@runtime.io> Authored: Thu Mar 2 13:40:00 2017 -0800 Committer: Marko Kiiskila <ma...@runtime.io> Committed: Thu Mar 2 13:40:00 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/15cfc602/newt/image/image.go ---------------------------------------------------------------------- diff --git a/newt/image/image.go b/newt/image/image.go index f396d7c..15ac916 100644 --- a/newt/image/image.go +++ b/newt/image/image.go @@ -118,8 +118,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 {