1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Update codegangsta/cli action return signature

This commit is contained in:
Josh Curl
2016-05-16 20:36:08 -07:00
parent b2ab4d0c38
commit c18cd26e78
10 changed files with 63 additions and 26 deletions

View File

@@ -7,8 +7,9 @@ import (
"github.com/rancher/os/util"
)
func devAction(c *cli.Context) {
func devAction(c *cli.Context) error {
if len(c.Args()) > 0 {
fmt.Println(util.ResolveDevice(c.Args()[0]))
}
return nil
}