dbca-utils 3.0.4__tar.gz → 3.0.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/PKG-INFO +1 -1
  2. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/pyproject.toml +1 -1
  3. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/src/dbca_utils/healthcheck/healthcheck.py +5 -1
  4. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/LICENSE +0 -0
  5. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/README.md +0 -0
  6. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/src/dbca_utils/__init__.py +0 -0
  7. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/src/dbca_utils/apps.py +0 -0
  8. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/src/dbca_utils/healthcheck/__init__.py +0 -0
  9. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/src/dbca_utils/healthcheck/urls.py +0 -0
  10. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/src/dbca_utils/middleware.py +0 -0
  11. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/src/dbca_utils/models.py +0 -0
  12. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/src/dbca_utils/utils.py +0 -0
  13. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/tests/__init__.py +0 -0
  14. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/tests/apps.py +0 -0
  15. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/tests/migrations/0001_initial.py +0 -0
  16. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/tests/migrations/__init__.py +0 -0
  17. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/tests/models.py +0 -0
  18. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/tests/settings.py +0 -0
  19. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/tests/templates/tests/test_model_list.html +0 -0
  20. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/tests/tests.py +0 -0
  21. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/tests/urls.py +0 -0
  22. {dbca_utils-3.0.4 → dbca_utils-3.0.5}/tests/views.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dbca-utils
3
- Version: 3.0.4
3
+ Version: 3.0.5
4
4
  Summary: Utilities for DBCA Django apps
5
5
  Author-Email: Rocky Chen <rocky.chen@dbca.wa.gov.au>, Ashley Felton <ashley.felton@dbca.wa.gov.au>
6
6
  License-Expression: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dbca-utils"
3
- version = "3.0.4"
3
+ version = "3.0.5"
4
4
  description = "Utilities for DBCA Django apps"
5
5
  authors = [
6
6
  { name = "Rocky Chen", email = "rocky.chen@dbca.wa.gov.au" },
@@ -149,8 +149,12 @@ def get_persistent_volumes_data():
149
149
  source = source.lower()
150
150
  if source == "overlay":
151
151
  overlaysize = size
152
+ elif target.startswith("//"):
153
+ volumes.append(target)
152
154
  elif target.startswith("/dev/sd"):
153
- volumesdata[targer] = size
155
+ #the volume can be same filesystem as the volume 'overlay'
156
+ volumesdata[target] = size
157
+
154
158
  for k,v in volumesdata.items():
155
159
  if v == overlaysize:
156
160
  #the volume is the same volume as overlay
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes