Skip to content

Commit

Permalink
Merge pull request #489 from mgfritch/salt3005-remove-transport-kwarg
Browse files Browse the repository at this point in the history
Remove deprecated 'transport' kwarg

Reviewed-by: Tim Serong <[email protected]>
  • Loading branch information
tserong authored Jul 28, 2023
2 parents 6193518 + ef22f22 commit 3477003
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ceph_salt/salt_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ def run(self):
self.event.set()

opts = salt.config.client_config('/etc/salt/master')
stream = salt.utils.event.get_event('master', io_loop=self.io_loop,
transport=opts['transport'], opts=opts)
stream = salt.utils.event.get_event('master', io_loop=self.io_loop, opts=opts)
stream.set_event_handler(self._handle_event_recv)

self.io_loop.start()
Expand Down

0 comments on commit 3477003

Please sign in to comment.