Add the argument disk_type validation in the method DecortController.account_disks

This commit is contained in:
2024-07-22 16:32:49 +03:00
parent aefc920e1a
commit 0c0fde8470
2 changed files with 12 additions and 1 deletions

View File

@@ -141,7 +141,7 @@ class DecortAccountInfo(DecortController):
),
type=dict(
type='str',
choices=['B', 'D'],
choices=self.DISK_TYPES,
),
),
),