mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 15:47:21 +00:00
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 {
|
||||
c.UI.Output("Allowed")
|
||||
return 0
|
||||
} else {
|
||||
c.UI.Output("Denied")
|
||||
return 1
|
||||
}
|
||||
|
||||
return 0
|
||||
c.UI.Output("Denied")
|
||||
return 1
|
||||
}
|
||||
|
||||
func (c *cmd) Synopsis() string {
|
||||
|
Loading…
x
Reference in New Issue
Block a user