Merge pull request #39346 from joe-niland/handle-iis-bindings

Ignore non-HTTP IIS bindings
This commit is contained in:
Mike Place 2017-02-13 11:18:35 -07:00 committed by GitHub
commit 082105fa84

View file

@ -126,6 +126,11 @@ def list_sites():
bindings = dict()
for binding in item['bindings']['Collection']:
# Ignore bindings which do not have host names
if binding['protocol'] not in ['http', 'https']:
continue
filtered_binding = dict()
for key in binding: