Uploaded image for project: 'Test'
  1. Test
  2. TEST-417

Avoid empty newlines in jina templates when if conditions evaluate to false

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None

      The jinja templates use if conditions to include and exclude certain properties from the object definitions.
      When the if definition evaluates to false, there currently will be newlines added in these places.
      Since we are logging the templated objects, the newlines will show up.
      This can be avoided to make the logs less long and convoluted.

            fostkamp Fiete Ostkamp
            fostkamp Fiete Ostkamp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: