File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -262,14 +262,17 @@ private static List<IChange> GenerateFollowerCachingChanges(FollowerDatabase old
262262
263263 if ( removedPolicyScripts . Any ( ) )
264264 {
265- result . Add ( new Heading ( $ "Deleted { type } Caching Policies") ) ;
266-
267- var deletedPolicies = string . Join ( "\n " , removedPolicyScripts . Select ( itm => $ "* { itm . Name } ") ) ;
265+ var deletePolicySb = new StringBuilder ( ) ;
266+ deletePolicySb . AppendLine ( $ "## Delete { type } Caching Policies") ;
267+ foreach ( var change in removedPolicyScripts )
268+ {
269+ deletePolicySb . AppendLine ( $ "* { change . Name } ") ;
270+ }
268271
269272 result . Add ( new BasicChange (
270273 "FollowerDatabase" ,
271274 $ "Delete{ type } CachingPolicy",
272- deletedPolicies ,
275+ deletePolicySb . ToString ( ) ,
273276 removedPolicyScripts . Select ( itm => itm . Script ) . ToList ( ) ) ) ;
274277 }
275278 if ( changedPolicyScripts . Any ( ) )
You can’t perform that action at this time.
0 commit comments