[rhel7/master] Set the name in the volume group store (#1070854)

Vratislav Podzimek vpodzime at redhat.com
Fri Feb 28 07:49:57 UTC 2014


On Thu, 2014-02-27 at 16:53 -0500, David Shea wrote:
> The row insert when renaming a volume group was inserting the freespace
> into the name column.
> 
> Resolves: rhbz#1070854
> ---
>  pyanaconda/ui/gui/spokes/custom.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
> index c6456bd..2e391b9 100644
> --- a/pyanaconda/ui/gui/spokes/custom.py
> +++ b/pyanaconda/ui/gui/spokes/custom.py
> @@ -2476,7 +2476,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
>                  c = self.__storage.devicetree.getDeviceByName(self._device_container_name)
>                  freeSpace = getattr(c, "freeSpace", None)
>  
> -                self._containerStore.insert(idx, self._container_store_row(freeSpace))
> +                self._containerStore.insert(idx, self._container_store_row(self._device_container_name, freeSpace))
>                  self._containerCombo.set_active(idx)
>                  self._modifyContainerButton.set_sensitive(not container_exists)
ACK. 

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list