mirror of https://github.com/jumpserver/jumpserver
parent
e56fc93a6e
commit
9bd9d443b4
|
@ -301,7 +301,7 @@ class Asset(AbsConnectivity, AbsHardwareInfo, ProtocolsMixin, NodesRelationMixin
|
||||||
'private_key': auth_user.private_key_file
|
'private_key': auth_user.private_key_file
|
||||||
}
|
}
|
||||||
|
|
||||||
if not with_become:
|
if not with_become or self.is_windows():
|
||||||
return info
|
return info
|
||||||
|
|
||||||
if become_user:
|
if become_user:
|
||||||
|
|
Loading…
Reference in New Issue