FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(config): when rolling a new config copy from the latest release instead of latest config for the app by helgi · Pull Request #805 · deis/controller · GitHub

This repository was archived by the owner on May 6, 2020. It is now read-only.
/ controller Public archive

fix(config): when rolling a new config copy from the latest release instead of latest config for the app - #805

Merged
helgi merged 1 commit into
deis:masterfrom
helgi:fix_config_set
Jun 9, 2016
Merged

fix(config): when rolling a new config copy from the latest release instead of latest config for the app#805
helgi merged 1 commit into
deis:masterfrom
helgi:fix_config_set

Conversation

helgi commented Jun 8, 2016
edited
Loading

Copy link
Copy Markdown
Contributor

Summary of Changes

This helps mitigate #798 for day to day use (quick fix) as the previous config is no longer pulled from the top of the application config stack and instead pulls the latest release config.
Doing that will prevent the logic from re-using a potentially broken Config object. When a Release object is deleted an Config object can be orphaned but still available.

Issue(s) that this PR Closes

refs #798

Testing Instructions

Ideally this change should be tested as part of #792 as that PR has the failure condition required (and the commit from this PR) but I decided that it was better to get them merged individually.

helgi added this to the v2.1-pre1 milestone Jun 8, 2016
helgi self-assigned this Jun 8, 2016

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @smothiki to be a potential reviewer

codecov-io commented Jun 8, 2016
edited
Loading

Copy link
Copy Markdown

Current coverage is 85.86%

Merging #805 into master will increase coverage by 0.13%

@@             master       #805   diff @@
==========================================
  Files            30         30          
  Lines          2692       2696     +4   
  Methods           0          0          
  Messages          0          0          
  Branches        439        439          
==========================================
+ Hits           2308       2315     +7   
+ Misses          259        257     -2   
+ Partials        125        124     -1   

Powered by Codecov. Last updated by b7a4582...2264907

helgi force-pushed the fix_config_set branch from 91ec4dc to 2264907 Compare June 8, 2016 23:49
…nstead of latest config for the app

This helps mitigate deis#798 for day to day use (quick fix) as the previous config is no longer pulled from the top of the application config stack and instead pulls the latest release config.
Doing that will prevent the logic from re-using a potentially broken Config object. When a Release object is deleted an Config object can be orphaned but still available.
helgi force-pushed the fix_config_set branch from 2264907 to 5fb1bbb Compare June 9, 2016 00:23
kmala added the LGTM1 label Jun 9, 2016
helgi merged commit d0572e0 into deis:master Jun 9, 2016
helgi deleted the fix_config_set branch June 9, 2016 01:44
krancour modified the milestones: v2.1, v2.1-pre1 Jun 29, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL