Uploaded image for project: 'OpenShift Monitoring'
  1. OpenShift Monitoring
  2. MON-3592

use UnmarshalStrict to read static assets

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • None
    • None
    • None
    • None
    • 3
    • False
    • None
    • False
    • NEW
    • NEW
    • MON Sprint 246
    • 0

    Description

      sigs.k8s.io/yaml offers a k8s compatible UnmarshalStrict.

      golangs yaml implementation does not work well with optional fields. See http://web.archive.org/web/20190603050330/http://ghodss.com/2014/the-right-way-to-handle-yaml-in-golang/ for more details

      Attachments

        Activity

          People

            jfajersk@redhat.com Jan Fajerski
            jfajersk@redhat.com Jan Fajerski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: