Remove unecessary code from manager._postConfig
We don't need to clear the layout cache in _postConfig because the configloader creates a new pipeline manager in all cases where this method would be called anyway (that is: a tenant reconfiguration). Remove this unecessary code and the potentially confusing comment that goes with it. Change-Id: I7ee0f08688a084d6fd706877f1453f8fd29a9e65
This commit is contained in:
@@ -106,12 +106,6 @@ class PipelineManager(metaclass=ABCMeta):
|
||||
self.current_context = None
|
||||
|
||||
def _postConfig(self):
|
||||
# After a reconfiguration, we need to forget anything built
|
||||
# from the old layout.
|
||||
# TODO: we may be able to preserve change queues if projects
|
||||
# haven't changed their pipeline participation.
|
||||
self._layout_cache = {}
|
||||
|
||||
layout = self.tenant.layout
|
||||
self.buildChangeQueues(layout)
|
||||
# Make sure we have state and change list objects. We
|
||||
|
||||
Reference in New Issue
Block a user