Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

fixing issue 1632 #1633

Merged
merged 3 commits into from
May 22, 2019
Merged

fixing issue 1632 #1633

merged 3 commits into from
May 22, 2019

Conversation

theexplorist
Copy link
Contributor

@theexplorist theexplorist commented May 11, 2019

Fix #1632

@codecov
Copy link

codecov bot commented May 11, 2019

Codecov Report

Merging #1633 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #1633      +/-   ##
============================================
- Coverage     35.25%   35.24%   -0.02%     
  Complexity     1121     1121              
============================================
  Files           186      186              
  Lines         10178    10181       +3     
  Branches       1656     1657       +1     
============================================
  Hits           3588     3588              
- Misses         6169     6172       +3     
  Partials        421      421

@codecov
Copy link

codecov bot commented May 11, 2019

Codecov Report

Merging #1633 into master will increase coverage by 0.41%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #1633      +/-   ##
============================================
+ Coverage     34.82%   35.24%   +0.41%     
+ Complexity     1122     1120       -2     
============================================
  Files           186      186              
  Lines         10309    10178     -131     
  Branches       1679     1656      -23     
============================================
- Hits           3590     3587       -3     
+ Misses         6297     6171     -126     
+ Partials        422      420       -2

@rohanKanojia rohanKanojia requested review from devang-gaur, rohanKanojia and lordofthejars and removed request for devang-gaur May 13, 2019 06:33
* @param defaultValue
* @return
*/
private String getImagePullPolicy(ResourceConfig resourceConfig, String defaultValue) {
Copy link
Member

Choose a reason for hiding this comment

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

I would suggest moving this function to it's parent class i.e BaseEnricher since both DefaultControllerEnricher and ControllerViaPluginConfiguration are using this method

Copy link
Member

@rohanKanojia rohanKanojia left a comment

Choose a reason for hiding this comment

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

Looks good with minor comment

Copy link
Contributor

@devang-gaur devang-gaur left a comment

Choose a reason for hiding this comment

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

@theexplorist better to shift getImagePullPolicy( ) to the base class

@rohanKanojia rohanKanojia merged commit 8da1173 into fabric8io:master May 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

imagePullPolicy configuration not working
3 participants