cleanup: remove continue statement after a return statement, because it's unreachable
This commit is contained in:
parent
e251adb37e
commit
e4faa98b6f
|
@ -54,7 +54,6 @@ func (FixerAmazonPrivateIP) Fix(input map[string]interface{}) (map[string]interf
|
||||||
privateIP, err = strconv.ParseBool(privateIPi.(string))
|
privateIP, err = strconv.ParseBool(privateIPi.(string))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("ssh_private_ip is not a boolean")
|
return nil, fmt.Errorf("ssh_private_ip is not a boolean")
|
||||||
continue
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue