Fix network_cli connection issue (#33420)

*  Copy play_context in network_cli connection class
This commit is contained in:
Ganesh Nalawade 2017-12-01 10:13:07 +05:30 committed by GitHub
parent 0d5b1a1567
commit fe702b48a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,6 +84,7 @@ class Connection(ConnectionBase):
self._matched_pattern = None self._matched_pattern = None
self._last_response = None self._last_response = None
self._history = list() self._history = list()
self._play_context = play_context
self._local = connection_loader.get('local', play_context, '/dev/null') self._local = connection_loader.get('local', play_context, '/dev/null')
self._local.set_options() self._local.set_options()