Switch single item switch statements to if statements (#10831)
Switch single item switch statements to if statements (#10831)

No real reason why they should be switches if that's the only
value we support.
knative/serving,knative/serving