Skip to content

Commit

Permalink
fix(middlewared/network): interface lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
william-gr committed Mar 22, 2019
1 parent 4535893 commit 6df8baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/network.py
Expand Up @@ -1160,7 +1160,7 @@ async def do_update(self, oid, data):
}):
interface_id = i
config = (await self.middleware.call(
'datastore.query', 'network.interfaces', [('int_interface', '=', interface_id)]
'datastore.query', 'network.interfaces', [('id', '=', interface_id)]
))[0]
else:
interface_attrs, aliases = self.__convert_aliases_to_datastore(new)
Expand Down

0 comments on commit 6df8baf

Please sign in to comment.