Merge branch '4.1.x'

Closes gh-51923
This commit is contained in:
Andy Wilkinson
2026-10-01 11:23:30 +01:00
@@ -135,25 +135,12 @@ public interface BuildLog {
*/
void sensitiveTargetBindingDetected(Binding binding);
/**
* Log that the stack ID of the run image does not match the stack ID of the builder
* image.
* @param runImageStackId the stack ID of the run image
* @param builderImageStackId the stack ID of the builder image
* @since 4.0.9
* @deprecated since 4.2.0 for removal in 4.4.0 in favor of
* {@link #distrosDoNotMatch(String, String)}. This method is no longer called.
*/
@Deprecated(since = "4.2.0", forRemoval = true)
default void stackIdsDoNotMatch(String runImageStackId, String builderImageStackId) {
}
/**
* Log that the OS distribution of the run image does not match the OS distribution of
* the builder image.
* @param runImageDistro the OS distribution of the run image
* @param builderImageDistro the OS distribution of the builder image
* @since 4.2.0
* @since 4.0.9
*/
default void distrosDoNotMatch(String runImageDistro, String builderImageDistro) {
}