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

Changed Ingress resource kind from BUILD to INGRESS. fabric8:resource (#1631) #1728

Merged
merged 2 commits into from
Oct 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ After this we will switch probably to real [Semantic Versioning 2.0.0](http://se
### 4.3-SNAPSHOT
* Fix #1725: Update jackson to 2.10.0
* Fix #1710: Docker build args not working
* Fix #1728: Ingress enricher is using Ingress kind

### 4.3.0 (04-10-2019)
* Updated custom-enricher sample
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,12 +354,12 @@ public IngressBuilderVisitor(ResourceConfig resourceConfig) {

@Override
protected Kind getKind() {
return Kind.BUILD;
return Kind.INGRESS;
}

@Override
protected ObjectMeta getOrCreateMetadata(IngressBuilder item) {
return item.hasMetadata() ? item.buildMetadata() : item.withNewMetadata().endMetadata().buildMetadata();
}
}
}
}