From 5208ea6e2cdf5b2302577c5c44f03acfa84e326e Mon Sep 17 00:00:00 2001 From: Daniel Pope Date: Wed, 28 Apr 2021 14:55:28 +0100 Subject: [PATCH] Replace master/slave terminology in Cluster example This terminology is frowned upon within my firm and I accidentally forwarded this example to 750 staff. --- docs/guides/cluster.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guides/cluster.md b/docs/guides/cluster.md index 6cbf820e3..f4b55b2d1 100644 --- a/docs/guides/cluster.md +++ b/docs/guides/cluster.md @@ -22,11 +22,11 @@ with Diagram("Simple Web Service with DB Cluster", show=False): web = ECS("service") with Cluster("DB Cluster"): - db_master = RDS("master") - db_master - [RDS("slave1"), - RDS("slave2")] + db_primary = RDS("primary") + db_primary - [RDS("replica1"), + RDS("replica2")] - dns >> web >> db_master + dns >> web >> db_primary ``` ![simple web service with db cluster diagram](/img/simple_web_service_with_db_cluster_diagram.png) @@ -68,4 +68,4 @@ with Diagram("Event Processing", show=False): ![event processing diagram](/img/event_processing_diagram.png) -> There is no depth limit of nesting. Feel free to create nested clusters as deep as you want. \ No newline at end of file +> There is no depth limit of nesting. Feel free to create nested clusters as deep as you want.