Code Review
/
src
/
xds
/
xds-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fb14001
)
Fixed conflict name between exec package and local exec function.
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Fri, 23 Feb 2018 16:57:33 +0000
(17:57 +0100)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Fri, 23 Feb 2018 16:57:33 +0000
(17:57 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
cmd-exec.go
patch
|
blob
|
history
diff --git
a/cmd-exec.go
b/cmd-exec.go
index
83743a3
..
3f1ee97
100644
(file)
--- a/
cmd-exec.go
+++ b/
cmd-exec.go
@@
-31,7
+31,7
@@
func initCmdExec(cmdDef *[]cli.Command) {
*cmdDef = append(*cmdDef, cli.Command{
Name: "exec",
Usage: "execute a command in XDS",
- Action: exec,
+ Action: exec
Cmd
,
Flags: []cli.Flag{
cli.StringFlag{
Name: "id",
@@
-52,7
+52,7
@@
func initCmdExec(cmdDef *[]cli.Command) {
})
}
-func exec(ctx *cli.Context) error {
+func exec
Cmd
(ctx *cli.Context) error {
prjID := ctx.String("id")
rPath := ctx.String("rpath")
sdkid := ctx.String("sdkid")