newtmgr - Remove underscore in identifier.

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/823c05c0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/823c05c0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/823c05c0

Branch: refs/heads/develop
Commit: 823c05c0b2851b89e70b7cb9f57d0ddff3f66740
Parents: 1a8b9b7
Author: Christopher Collins <ccoll...@apache.org>
Authored: Thu Oct 13 15:15:41 2016 -0700
Committer: Christopher Collins <ccoll...@apache.org>
Committed: Tue Oct 18 15:08:35 2016 -0700

----------------------------------------------------------------------
 newtmgr/cli/image.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/823c05c0/newtmgr/cli/image.go
----------------------------------------------------------------------
diff --git a/newtmgr/cli/image.go b/newtmgr/cli/image.go
index 67a8b8b..c8ca761 100644
--- a/newtmgr/cli/image.go
+++ b/newtmgr/cli/image.go
@@ -123,14 +123,14 @@ func imageStateTestCmd(cmd *cobra.Command, args []string) 
{
                nmUsage(cmd, nil)
        }
 
-       hex_bytes, _ := hex.DecodeString(args[0])
+       hexBytes, _ := hex.DecodeString(args[0])
 
        req, err := protocol.NewImageStateWriteReq()
        if err != nil {
                nmUsage(nil, err)
        }
 
-       req.Hash = hex_bytes
+       req.Hash = hexBytes
        req.Confirm = false
 
        nmr, err := req.Encode()

Reply via email to