Index: trunk/tools/subversion/user-management/manage-volumes |
— | — | @@ -60,12 +60,12 @@ |
61 | 61 | project_name = project[1]["cn"][0] |
62 | 62 | hosts = [] |
63 | 63 | if project_name in project_hosts: |
| 64 | + hosts = project_hosts[project_name] |
64 | 65 | brick_ips = [] |
65 | 66 | for brick in self.bricks: |
66 | 67 | brick_ips.append(socket.gethostbyname(brick)) |
67 | 68 | hosts.extend(brick_ips) |
68 | 69 | hosts = list(set(hosts)) |
69 | | - hosts = project_hosts[project_name] |
70 | 70 | hosts.sort() |
71 | 71 | for volume_name in self.volume_names: |
72 | 72 | volume_hosts = hosts |