From 61e36a45e9d9732eaabf1e87c9b4a1ef377b94c2 Mon Sep 17 00:00:00 2001 From: Li Yi Date: Wed, 24 Jun 2020 21:50:49 +0800 Subject: [PATCH] Fix typo for PersistentVolume (#207) --- config.py | 2 +- diagrams/k8s/storage.py | 2 +- docs/nodes/k8s.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 04608be9..810de950 100644 --- a/config.py +++ b/config.py @@ -297,7 +297,7 @@ ALIASES = { "SA": "ServiceAccount", }, "storage": { - "PV": "PersistnetVolume", + "PV": "PersistentVolume", "PVC": "PersistentVolumeClaim", "SC": "StorageClass", "Vol": "Volume", diff --git a/diagrams/k8s/storage.py b/diagrams/k8s/storage.py index 49d962c6..1b166e64 100644 --- a/diagrams/k8s/storage.py +++ b/diagrams/k8s/storage.py @@ -26,7 +26,7 @@ class Vol(_Storage): # Aliases -PersistnetVolume = PV +PersistentVolume = PV PersistentVolumeClaim = PVC StorageClass = SC Volume = Vol diff --git a/docs/nodes/k8s.md b/docs/nodes/k8s.md index ef6879fd..05123c51 100644 --- a/docs/nodes/k8s.md +++ b/docs/nodes/k8s.md @@ -75,7 +75,7 @@ Node classes list of k8s provider. ## k8s.storage -- **diagrams.k8s.storage.PV**, **PersistnetVolume** (alias) +- **diagrams.k8s.storage.PV**, **PersistentVolume** (alias) - **diagrams.k8s.storage.PVC**, **PersistentVolumeClaim** (alias) - **diagrams.k8s.storage.SC**, **StorageClass** (alias) - **diagrams.k8s.storage.Vol**, **Volume** (alias)