Arnavion / k8s-openapi

Rust definitions of the resource types in the Kubernetes client API
Apache License 2.0
379 stars 40 forks source link

Panic when workarounds are no longer used #12

Closed Arnavion closed 6 years ago

Arnavion commented 6 years ago

For each workaround like 5b0e12b59bc97db6c186db8857a2e8b10c55855d and 9b4fdaf6c0494cbd0232c715d89cb7f4a9eebc7d, add a flag that asserts the workaround got used atleast once. Otherwise panic.

This will ensure workarounds get removed when upstream fixes them in all versions we care about, or when we remove versions that needed the workaround.