Use model.deepMarkAsSkipped in SpringProfileModelHandler
Switch `model.markAsSkipped` to `model.deepMarkAsSkipped` in `SpringProfileModelHandler`. Although the current call doesn't appear to be causing issues, it seems best to align our <springProfile> support with the way that Logback implements its own `<if>` support. Closes gh-33618
This commit is contained in:
@@ -50,7 +50,7 @@ class SpringProfileModelHandler extends ModelHandlerBase {
|
||||
public void handle(ModelInterpretationContext intercon, Model model) throws ModelHandlerException {
|
||||
SpringProfileModel profileModel = (SpringProfileModel) model;
|
||||
if (!acceptsProfiles(intercon, profileModel)) {
|
||||
model.markAsSkipped();
|
||||
model.deepMarkAsSkipped();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user