mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Fix golint errors
This commit is contained in:
@@ -12,7 +12,7 @@ func Main() {
|
||||
|
||||
app.Name = os.Args[0]
|
||||
app.Usage = "Control and configure RancherOS"
|
||||
app.Version = config.VERSION
|
||||
app.Version = config.Version
|
||||
app.Author = "Rancher Labs, Inc."
|
||||
app.Email = "sid@rancher.com"
|
||||
app.EnableBashCompletion = true
|
||||
@@ -39,7 +39,7 @@ func shutdown(c *cli.Context) error {
|
||||
if reboot == "now" {
|
||||
Reboot()
|
||||
} else if poweroff == "now" {
|
||||
PowerOff()
|
||||
Off()
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user