Move plugin option settings. (#44774)

* Move plugin option settings.

* Add default value and clear after use.
This commit is contained in:
Nathaniel Case 2018-08-28 17:30:50 -04:00 committed by GitHub
parent 0c3216c565
commit 86f96d0212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 15 deletions

View file

@ -307,6 +307,8 @@ class Connection(NetworkConnectionBase):
display.display('unable to load netconf plugin for network_os %s, falling back to default plugin' % self._network_os)
self._implementation_plugins.append(netconf)
super(Connection, self)._connect()
return 0, to_bytes(self._manager.session_id, errors='surrogate_or_strict'), b''
def close(self):