Skip to content

Commit

Permalink
Correct return value of ComponentDescriptor.resources() (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
big-andy-coates authored Jan 13, 2024
1 parent 3858f81 commit d1c8623
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ default Collection<ComponentOutput> outputs() {
* @return {@link Stream} of component {@link #inputs}, {@link #internals} and {@link #outputs}
* resources.
*/
default Stream<ResourceDescriptor> resources() {
default Stream<? extends ResourceDescriptor> resources() {
return Stream.concat(
inputs().stream(), Stream.concat(internals().stream(), outputs().stream()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ public String dockerImage() {
}

@Override
public Stream<ResourceDescriptor> resources() {
public Stream<? extends ResourceDescriptor> resources() {
return ServiceDescriptor.super.resources();
}
}
Expand Down

0 comments on commit d1c8623

Please sign in to comment.