diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-02-23 17:57:33 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-02-23 17:57:33 +0100 |
commit | ad7380c0eeaa8165067a43734d925a1ccc9187e1 (patch) | |
tree | 2a0446532949d032acbe02b5ef045c97574afaa0 /cmd-exec.go | |
parent | fb1400119d4e3d99e10af1d302a744b7eba5ae25 (diff) |
Fixed conflict name between exec package and local exec function.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'cmd-exec.go')
-rw-r--r-- | cmd-exec.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-exec.go b/cmd-exec.go index 83743a3..3f1ee97 100644 --- 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: execCmd, Flags: []cli.Flag{ cli.StringFlag{ Name: "id", @@ -52,7 +52,7 @@ func initCmdExec(cmdDef *[]cli.Command) { }) } -func exec(ctx *cli.Context) error { +func execCmd(ctx *cli.Context) error { prjID := ctx.String("id") rPath := ctx.String("rpath") sdkid := ctx.String("sdkid") |