mirror of https://github.com/kubernetes/kops.git
Apply suggestions from code review
This commit is contained in:
parent
0a862fdb70
commit
9579feab98
|
@ -161,7 +161,6 @@ func setType(v reflect.Value, newValue string) error {
|
||||||
default:
|
default:
|
||||||
panic("missing case in switch")
|
panic("missing case in switch")
|
||||||
}
|
}
|
||||||
|
|
||||||
case "intstr.IntOrString":
|
case "intstr.IntOrString":
|
||||||
newV = reflect.ValueOf(intstr.Parse(newValue))
|
newV = reflect.ValueOf(intstr.Parse(newValue))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue