mirror of https://github.com/jumpserver/jumpserver
bugs
parent
a36c8599e7
commit
d24cfeeabc
|
@ -41,7 +41,7 @@ def f_add_host(ip, port, idc, jtype, group, dept, active, comment, username='',
|
|||
for g in group:
|
||||
c = BisGroup.objects.get(name=g)
|
||||
groups.append(c)
|
||||
groups.extend(all_group)
|
||||
groups.append(all_group)
|
||||
|
||||
for d in dept:
|
||||
p = DEPT.objects.get(name=d)
|
||||
|
|
Loading…
Reference in New Issue