Apply suggestions from code review

Co-authored-by: Alisdair McDiarmid <alisdair@users.noreply.github.com>
This commit is contained in:
James Bardin 2020-07-01 16:10:02 -04:00 committed by GitHub
parent 642dadcd96
commit 16b7541277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ In order to resolve these cycles, and all resources that precede a resource
with `create_before_destroy` must in turn be handled in the same manner.
Reversing the incoming edged to `A destroy` resolves the problem:
![Correct create_before_destroy replacement](./images/replace_cbd_all.png)
![Correct create_before_destroy replacement](./images/replace_all_cbd.png)
<!--
digraph replacement {
subgraph create {
@ -281,7 +281,7 @@ digraph replacement {
}
-->
This also demonstrates why `create_before_destry` cannot be overridden when
This also demonstrates why `create_before_destroy` cannot be overridden when
it is inherited; changing the behaviour here isn't possible without removing
the initial reason for `create_before_destroy`; otherwise cycles are always
introduced into the graph.