Skip to content

Commit

Permalink
Use model.deepMarkAsSkipped in SpringProfileModelHandler
Browse files Browse the repository at this point in the history
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
  • Loading branch information
philwebb committed Dec 22, 2022
1 parent 532fed3 commit 2ed512d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit 2ed512d

Please sign in to comment.