Skip to content

Commit 9640a22

Browse files
committed
Merge pull request #297 from aledbf/print-rc
feat(workflow): log the template used in case of an error
2 parents f4c7da5 + 1a68899 commit 9640a22

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rootfs/scheduler/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ def _create_rc(self, name, image, command, **kwargs): # noqa
663663
if unhealthy(resp.status_code):
664664
error(resp, 'create ReplicationController "{}" in Namespace "{}"',
665665
name, app_name)
666+
logger.debug('template used: {}'.format(json.dumps(js_template, indent=4)))
666667

667668
create = False
668669
for _ in range(30):

0 commit comments

Comments
 (0)