]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
provision.downburst: Fix a bug in PR #1041 1043/head
authorZack Cerza <zack@redhat.com>
Tue, 7 Mar 2017 16:18:56 +0000 (09:18 -0700)
committerZack Cerza <zack@redhat.com>
Tue, 7 Mar 2017 16:29:06 +0000 (09:29 -0700)
Looks like an argument was dropped to a string format().

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/provision/downburst.py

index 3517a0ee2b177d1d2444fc820800cbfa0f5bd3d8..2f4f4f30653d99182ab88d7d554c9d991029b72d 100644 (file)
@@ -145,7 +145,7 @@ class Downburst(object):
             if not_found_msg in err:
                 log.warn("Ignoring error during destroy: %s", err)
                 return True
-            log.error("Error destroying {machine}: {msg}".format(machine=self.name))
+            log.error("Error destroying %s: %s", self.name, err)
             return False
         else:
             out_str = ': %s' % out if out else ''