• Nikhita Raghunath's avatar
    kubectl explain: ignore trailing period · 4add6795
    Nikhita Raghunath authored
    kubectl explain ingress.spec.rules.http.paths. is valid
    and defaults to kubectl explain ingress.spec.rules.http.paths
    
    Rational: We use kubectl explain by adding fields
    (e.g. service, then service.spec, then service.spec.ports ...)
    so it's very easy to forget a trailing . at the end. We should
    ignore the trailing period and display the result without it.
    4add6795
Name
Last commit
Last update
..
BUILD Loading commit data...
OWNERS Loading commit data...
explain.go Loading commit data...
explain_test.go Loading commit data...
field_lookup.go Loading commit data...
field_lookup_test.go Loading commit data...
fields_printer.go Loading commit data...
fields_printer_builder.go Loading commit data...
fields_printer_test.go Loading commit data...
formatter.go Loading commit data...
formatter_test.go Loading commit data...
model_printer.go Loading commit data...
model_printer_test.go Loading commit data...
recursive_fields_printer.go Loading commit data...
recursive_fields_printer_test.go Loading commit data...
test-swagger.json Loading commit data...
typename.go Loading commit data...
typename_test.go Loading commit data...