Skip to content

Refactoring for new KubeHTTPClient.version() behavior - #1

Merged
Cryptophobia merged 3 commits into
Cryptophobia:ess-fix-autoscale-take-2from
ess:ess-fix-autoscale-take-2
Aug 6, 2019
Merged

Cryptophobia merged 3 commits into
Cryptophobia:ess-fix-autoscale-take-2from
ess:ess-fix-autoscale-take-2

Conversation

@ess

@ess ess commented Aug 5, 2019

Copy link
Copy Markdown

This adds behavior tests for KubeHTTPClient's version() method, loosens up Deployment's api_version test to just focus on the things that it cares about, and refactors Deployment's api_version method to use the version() inherited from KubeHTTPClient.

ess added 3 commits August 5, 2019 17:58
This functionality now lives in KubeHTTPClient, so
it is unnecessary to mutate the reported k8s API
version in the deployment resource.
@Cryptophobia
Cryptophobia self-requested a review August 6, 2019 12:56

@Cryptophobia Cryptophobia left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@Cryptophobia
Cryptophobia merged commit 1b22e15 into Cryptophobia:ess-fix-autoscale-take-2 Aug 6, 2019
@Cryptophobia

Copy link
Copy Markdown
Owner

This refactoring of the new .version() behavior is very nicely done. Also thank you for writing the new tests. @ess 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants