Skip to content

Commit b873582

Browse files
committed
data.py-dist: fix types of empty dicts
Signed-off-by: Anthony PERARD <[email protected]>
1 parent d2fdebe commit b873582

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

data.py-dist

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -183,44 +183,44 @@ DEFAULT_SR = 'default'
183183
CACHE_IMPORTED_VM = False
184184

185185
# Default NFS device config:
186-
NFS_DEVICE_CONFIG: dict[str, dict[str, str]] = {
186+
NFS_DEVICE_CONFIG: dict[str, str] = {
187187
# 'server': '10.0.0.2', # URL/Hostname of NFS server
188188
# 'serverpath': '/path/to/shared/mount' # Path to shared mountpoint
189189
}
190190

191191
# Default NFS4+ only device config:
192-
NFS4_DEVICE_CONFIG: dict[str, dict[str, str]] = {
192+
NFS4_DEVICE_CONFIG: dict[str, str] = {
193193
# 'server': '10.0.0.2', # URL/Hostname of NFS server
194194
# 'serverpath': '/path_to_shared_mount' # Path to shared mountpoint
195195
# 'nfsversion': '4.1'
196196
}
197197

198198
# Default NFS ISO device config:
199-
NFS_ISO_DEVICE_CONFIG: dict[str, dict[str, str]] = {
199+
NFS_ISO_DEVICE_CONFIG: dict[str, str] = {
200200
# 'location': '10.0.0.2:/path/to/shared/mount' # URL/Hostname of NFS server and path to shared mountpoint
201201
}
202202

203203
# Default CIFS ISO device config:
204-
CIFS_ISO_DEVICE_CONFIG: dict[str, dict[str, str]] = {
204+
CIFS_ISO_DEVICE_CONFIG: dict[str, str] = {
205205
# 'location': r'\\10.0.0.2\<shared folder name>',
206206
# 'username': '<user>',
207207
# 'cifspassword': '<password>',
208208
# 'type': 'cifs',
209209
# 'vers': '<1.0> or <3.0>'
210210
}
211211

212-
CEPHFS_DEVICE_CONFIG: dict[str, dict[str, str]] = {
212+
CEPHFS_DEVICE_CONFIG: dict[str, str] = {
213213
# 'server': '10.0.0.2',
214214
# 'serverpath': '/vms'
215215
}
216216

217-
MOOSEFS_DEVICE_CONFIG: dict[str, dict[str, str]] = {
217+
MOOSEFS_DEVICE_CONFIG: dict[str, str] = {
218218
# 'masterhost': 'mfsmaster',
219219
# 'masterport': '9421',
220220
# 'rootpath': '/vms'
221221
}
222222

223-
LVMOISCSI_DEVICE_CONFIG: dict[str, dict[str, str]] = {
223+
LVMOISCSI_DEVICE_CONFIG: dict[str, str] = {
224224
# 'target': '192.168.1.1',
225225
# 'port': '3260',
226226
# 'targetIQN': 'target.example',

0 commit comments

Comments
 (0)