Skip to content

Parsed yaml returns sorted & comment free file #66

Description

@rmartinoscar

When using https://pastes.dev/11FXTHnM2m yaml file lines are getting alphabetically sorted and any comments or blank line gets removed
Before
After
I think this is because we handle Yaml by converting it to Json then converting back to Yaml.
https://github.com/pelican-dev/wings/blob/9f1dbd469134488ac89d0a7996f763554b392e34/parser/parser.go#L433-L452

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions