Skip to content

Commit

Permalink
Merge pull request Tendrl#381 from shtripat/import-issue
Browse files Browse the repository at this point in the history
Assign a blank list if no volumes
  • Loading branch information
r0h4n authored Aug 30, 2017
2 parents 5c72dc3 + 0bbeb4a commit f56e899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tendrl/gluster_integration/sds_sync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def _run(self):
# Sync cluster global details
if "provisioner/%s" % NS.tendrl_context.integration_id \
in NS.node_context.tags:
volumes = NS.gluster.objects.Volume().load_all()
volumes = NS.gluster.objects.Volume().load_all() or []
cluster_status.sync_cluster_status(volumes)
utilization.sync_utilization_details(volumes)
client_connections.sync_volume_connections(volumes)
Expand Down

0 comments on commit f56e899

Please sign in to comment.