mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] mkiiskila closed pull request #64: nmxact; default observe off when creating CoAP get command.
Date Thu, 01 Jan 1970 00:00:00 GMT
mkiiskila closed pull request #64: nmxact; default observe off when creating CoAP get command.
URL: https://github.com/apache/mynewt-newtmgr/pull/64
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/newtmgr/cli/res.go b/newtmgr/cli/res.go
index 1c92f3cc..af9cef02 100644
--- a/newtmgr/cli/res.go
+++ b/newtmgr/cli/res.go
@@ -111,7 +111,6 @@ func resGetCmd(cmd *cobra.Command, args []string) {
 	c := xact.NewGetResCmd()
 	c.SetTxOptions(nmutil.TxOptions())
 	c.Path = path
-	c.Observe = -1
 	c.Typ = rt
 
 	res, err := c.Run(s)
diff --git a/nmxact/xact/res.go b/nmxact/xact/res.go
index 63b1cd56..7285b68a 100644
--- a/nmxact/xact/res.go
+++ b/nmxact/xact/res.go
@@ -38,6 +38,7 @@ type GetResCmd struct {
 func NewGetResCmd() *GetResCmd {
 	return &GetResCmd{
 		CmdBase: NewCmdBase(),
+		Observe: -1,
 	}
 }
 


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message