Revision 3439fd6b lib/backend.py
b/lib/backend.py | ||
---|---|---|
215 | 215 |
hv_class = hypervisor.GetHypervisorClass(hv_name) |
216 | 216 |
allowed_files.update(hv_class.GetAncillaryFiles()[0]) |
217 | 217 |
|
218 |
assert pathutils.FILE_STORAGE_PATHS_FILE not in allowed_files, \ |
|
219 |
"Allowed file storage paths should never be uploaded via RPC" |
|
220 |
|
|
218 | 221 |
return frozenset(allowed_files) |
219 | 222 |
|
220 | 223 |
|
Also available in: Unified diff