Skip to content

Commit

Permalink
fix(middlewared/sysdataset): pass exclude_pool to setup method
Browse files Browse the repository at this point in the history
Ticket:	NAS-101409
  • Loading branch information
william-gr committed Apr 25, 2019
1 parent 6b9423d commit 8fc53ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/sysdataset.py
Expand Up @@ -136,7 +136,7 @@ async def do_update(self, job, data):
if config['pool'] != new['pool']:
await self.migrate(config['pool'], new['pool'])

await self.setup()
await self.setup(True, data.get('pool_exclude'))

if config['syslog'] != new['syslog']:
await self.middleware.call('service.restart', 'syslogd')
Expand Down

0 comments on commit 8fc53ce

Please sign in to comment.