neondatabase / autoscaling

Postgres vertical autoscaling in k8s
Apache License 2.0
164 stars 21 forks source link

cluster-autoscaler: Fix patch so results are formatted #1142

Closed sharnoff closed 3 days ago

sharnoff commented 1 week ago

This is a follow-up to #1134, to return the formatting to:

  1. Move imports so that the standard library remains in a newline-separated group by itself.
  2. Use git diff between commits — this results in the changes to context markers to show the function names, plus the simpler header.

This was generated by checking out cluster-autoscaler locally, applying the patch, making the import changes, committing the patch into a temporary commit, and then storing the output of git diff HEAD^ HEAD.