diff options
author | Cole Robinson <crobinso@redhat.com> | 2020-09-01 11:54:10 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2020-09-01 14:27:11 -0400 |
commit | 8ff0da7664e38df8c34070374d7d5d395833563a (patch) | |
tree | 15d58e657a5bc616504b08016195cea5c6f8058e /virtManager/hoststorage.py | |
parent | e4c0191f83abc58e93ac1047631d7aed654c6775 (diff) | |
download | virt-manager-8ff0da7664e38df8c34070374d7d5d395833563a.tar.gz |
connection: Pass object in -added/-removed signals
And not connkey. connkey == name, and name can change with object
rename, so it's a bad pattern to propagate that connkey can be used
as a static lookup key for objects. This begins unwinding it
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtManager/hoststorage.py')
-rw-r--r-- | virtManager/hoststorage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtManager/hoststorage.py b/virtManager/hoststorage.py index 09c4fd34..c66f96bd 100644 --- a/virtManager/hoststorage.py +++ b/virtManager/hoststorage.py @@ -671,7 +671,7 @@ class vmmHostStorage(vmmGObjectUI): def _conn_state_changed_cb(self, conn): self._refresh_conn_state() - def _conn_pools_changed_cb(self, src, connkey): + def _conn_pools_changed_cb(self, src, pool): self._populate_pools() def _pool_selected_cb(self, selection): |