Commit c49b0092 authored by Adeodato Simo's avatar Adeodato Simo Committed by Michael Hanselmann
Browse files

config.py: need explicit %-formatting in errors.OpPrereqError.


Signed-off-by: default avatarAdeodato Simo <dato@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent b6ac86e0
......@@ -874,7 +874,7 @@ class ConfigWriter:
for nodegroup in self._config_data.nodegroups.values():
if nodegroup.name == target:
return nodegroup.uuid
raise errors.OpPrereqError("Nodegroup '%s' not found", target)
raise errors.OpPrereqError("Nodegroup '%s' not found" % target)
@locking.ssynchronized(_config_lock, shared=1)
def GetNodeGroup(self, uuid):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment