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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user