Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Fix subnets module #609

Merged
merged 1 commit into from
Jul 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cme/modules/subnets.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def options(self, context, module_options):
multiple_hosts = False

def on_login(self, context, connection):
dn = ','.join(["DC=%s" % part for part in context.domain.split('.')])
dn = ','.join(["DC=%s" % part for part in connection.domain.split('.')])

context.log.info('Getting the Sites and Subnets from domain')

Expand Down