Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle extra spaces in merge-svc-map-files
During internal testing we are getting the following error from merge-svc-map-files File "/tmp/image.K2MYCphY/hooks/extra-data.d/10-merge-svc-map-files", line 54, in main with open(data_path, 'r') as dataFile: IOError: [Errno 21] Is a directory: '...diskimage-builder/elements/svc-map' Somehow IMAGE_ELEMENT contains a extra white space that manifests itself as an element without a name. It is very hard to find where this is coming from so instead this patch makes merge-svc-map-files more robost to this situation Change-Id: Id1500ead8a77d691408617dcdc4e095bc5775be8
- Loading branch information