Skip to content

Commit

Permalink
fixup! Fixes #24086: You can create a static group which depends on a…
Browse files Browse the repository at this point in the history
… dynamic one

Fixes #24086: You can create a static group which depends on a dynamic one
  • Loading branch information
fanf committed Jan 26, 2024
1 parent 1626a24 commit 9b3850a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,10 @@ class NodeGroupForm(
s"Error when getting group information for consistency check on static change status: ${err.fullMsg}"
)
case Right(Some(msg)) =>
val m = s"Error when getting group information for consistency check on static change status: you can't change " +
s"the nature of current group to static because it uses following dynamic groups as a subgroup criteria: ${msg}"
val m = {
s"Error when getting group information for consistency check on static/dynamic status:" +
s"current group can not be static because it uses following dynamic groups as a subgroup criteria: ${msg}"
}
formTracker.addFormError(Text(m))
logger.error(m)
case Right(None) => // ok
Expand Down

0 comments on commit 9b3850a

Please sign in to comment.