Skip to content

Commit 80bfd98

Browse files
authored
Merge pull request #354 from comphilip/release
Fix ldap configuration in /etc/netbox/config/ldap/*.py not loaded
2 parents 0749603 + 7694fd3 commit 80bfd98

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/ldap_config.docker.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ def __getattr__(name):
1313
except:
1414
pass
1515
raise AttributeError
16+
17+
def __dir__():
18+
names = []
19+
for config in _loaded_configurations:
20+
names.extend(config.__dir__())
21+
return names

0 commit comments

Comments
 (0)