Revision c49b0092 lib/config.py
b/lib/config.py | ||
---|---|---|
874 | 874 |
for nodegroup in self._config_data.nodegroups.values(): |
875 | 875 |
if nodegroup.name == target: |
876 | 876 |
return nodegroup.uuid |
877 |
raise errors.OpPrereqError("Nodegroup '%s' not found", target)
|
|
877 |
raise errors.OpPrereqError("Nodegroup '%s' not found" % target)
|
|
878 | 878 |
|
879 | 879 |
@locking.ssynchronized(_config_lock, shared=1) |
880 | 880 |
def GetNodeGroup(self, uuid): |
Also available in: Unified diff