Skip to content

Commit

Permalink
Merge pull request #41893 from alesj/devres_back1
Browse files Browse the repository at this point in the history
Add backcompatibility for DevResource::config method
  • Loading branch information
geoand authored Jul 15, 2024
2 parents 7228252 + c1443e8 commit 19c0e27
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ public interface DevResourceLifecycleManager<T extends ContainerConfig> extends
* @param catalog observability catalog. If OpenTelemetry or Micrometer are enabled.
* @return module's config
*/
T config(ModulesConfiguration configuration, ExtensionsCatalog catalog);
default T config(ModulesConfiguration configuration, ExtensionsCatalog catalog) {
return config(configuration);
}

/**
* Should we enable / start this dev resource.
Expand Down

0 comments on commit 19c0e27

Please sign in to comment.