Skip to content
Snippets Groups Projects
Commit 446e2bb5 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Add empty volume item check in kolla_docker module"

parents a118ca41 03ddc1be
No related branches found
No related tags found
No related merge requests found
...@@ -496,6 +496,9 @@ class DockerWorker(object): ...@@ -496,6 +496,9 @@ class DockerWorker(object):
vol_dict = dict() vol_dict = dict()
for vol in volumes: for vol in volumes:
if len(vol) == 0:
continue
if ':' not in vol: if ':' not in vol:
vol_list.append(vol) vol_list.append(vol)
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment