mirror of https://github.com/status-im/consul.git
Fix unreachable code warning from go vet
This commit is contained in:
parent
d1c67d90bc
commit
ecfda7cda5
|
@ -66,12 +66,10 @@ func (c *cmd) Run(args []string) int {
|
||||||
if allowed {
|
if allowed {
|
||||||
c.UI.Output("Allowed")
|
c.UI.Output("Allowed")
|
||||||
return 0
|
return 0
|
||||||
} else {
|
|
||||||
c.UI.Output("Denied")
|
|
||||||
return 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0
|
c.UI.Output("Denied")
|
||||||
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *cmd) Synopsis() string {
|
func (c *cmd) Synopsis() string {
|
||||||
|
|
Loading…
Reference in New Issue