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

Commit

Permalink
Fix #1578: Fmp is generating ImageChange triggers in the DeploymentCo…
Browse files Browse the repository at this point in the history
…nfig

Fixed my mistake while refactoring Converters into Enrichers
  • Loading branch information
rohanKanojia committed Mar 19, 2019
1 parent 3a17aa4 commit 54ebf79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ We use semantic versioning in some slight variation until our feature set has st

After this we will switch probably to real [Semantic Versioning 2.0.0](http://semver.org/)

### 4.0.0-M3
### 4.1-SNAPSHOT
* Fix 1578: Fmp is generating ImageChange triggers in the DeploymentConfig


### 4.0.0 (14-03-2019)
* Refactor 678: Enricher Workflow to allow direct generation of OpenShift objects.
* Refactor 802: Remove resource object post processing.
* Feature 729: Select custom resources depending on environment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private DeploymentConfig convert(HasMetadata item, Boolean isOpenshiftBuildStrat
specBuilder.addNewTrigger()
.withType("ImageChange")
.withNewImageChangeParams()
.withAutomatic(true)
.withAutomatic(enableAutomaticTrigger)
.withNewFrom()
.withKind("ImageStreamTag")
.withName(image.getSimpleName() + ":" + tag)
Expand Down

0 comments on commit 54ebf79

Please sign in to comment.