kube-rs / kopium

Kubernetes OPenapI UnMangler
Apache License 2.0
112 stars 21 forks source link

Refactor away rightward drift in main #233

Closed clux closed 4 months ago

clux commented 4 months ago

Using

  1. let else instead of big indent + else at the bottom
  2. returning error early
  3. continue early

then 2 more minor tweaks: crd iterations common var + use Vec<&str> for less to_string gunk