Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Undefined method "merge" on LabelSelector #488

Merged
merged 2 commits into from
May 27, 2019

Conversation

ramontayag
Copy link
Contributor

What are you trying to accomplish with this PR?
When deploying with a --selector, fix exceptions:

  • undefined method "merge" on LabelSelector and
  • undefined method reverse_merge!onHash`

How is this accomplished?

  • convert LabelSelector to hash before merging
  • require ActiveSupport's reverse_merge lib

What could go wrong?
Not sure - it's already busted now

Fixes "undefined method `merge` for KubernetesDeploy::LabelSelector"
Fixes "undefined method `reverse_merge`" on hash
@ramontayag ramontayag marked this pull request as ready for review May 25, 2019 03:05
@dturn dturn merged commit 8b9ac93 into Shopify:master May 27, 2019
@dturn
Copy link
Contributor

dturn commented May 27, 2019

Thanks for the bug fix!

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.

None yet

3 participants