Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Merge "Get correct protocol for domain Closes-Bug: 1406377"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Jan 5, 2015
2 parents afb95b2 + 915f9ca commit 40f38d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poppy/storage/cassandra/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def format_result(result):
for rule_i in o.get(
'rules', [])]) for o in origins]

domains = [domain.Domain(d['domain'])
domains = [domain.Domain(d['domain'], d.get('protocol', 'http'))
for d in domains]

restrictions = [restriction.Restriction(
Expand Down

0 comments on commit 40f38d7

Please sign in to comment.