Uploaded image for project: 'OpenShift Over the Air'
  1. OpenShift Over the Air
  2. OTA-891

[cincinnati] de-noise `missing_field` warn log in GB

XMLWordPrintable

    • OTA 232

      Cincinnati prints a warn log everytime it tries to parse the old edge-block files. Like, 

      Failed to deserialize file at "/tmp/cincinnati/graph-data/.tmpMBeLj6/blocked-edges/4.7.8.yaml": missing field `url` at line 1 column 3

       

      Potential Fix: 

      create a struct with the old schema of the file, and when its not able to parse with new version, check if its an old version of blocking file. If it's an old version, dont print the warn log. If its neither of old and new version, print out the warn message. 

       

      Definition of Done: 

      • We get rid of the `missing_param` noise, but it prints the error when there is a genuine error.

              pratikam Pratik Mahajan
              pratikam Pratik Mahajan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: