Return correct pipeline name in str method.
Change-Id: I03e9ec477b1d7493984fc6082bf30425ea8f5ac2
Reviewed-on: https://review.openstack.org/10981
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: James E. Blair <corvus@inaugust.com>
diff --git a/zuul/scheduler.py b/zuul/scheduler.py
index aed2c46..4e92336 100644
--- a/zuul/scheduler.py
+++ b/zuul/scheduler.py
@@ -377,7 +377,7 @@
self.start_action = {}
def __str__(self):
- return "<%s %s>" % (self.__class__.__name__, self.name)
+ return "<%s %s>" % (self.__class__.__name__, self.pipeline.name)
def _postConfig(self):
self.log.info("Configured Pipeline Manager %s" % self.pipeline.name)