Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid error Map keys must be uniqueYAML on mutliple merges #1005

Open
1 of 4 tasks
AlexisColes opened this issue Feb 8, 2024 · 0 comments
Open
1 of 4 tasks

Invalid error Map keys must be uniqueYAML on mutliple merges #1005

AlexisColes opened this issue Feb 8, 2024 · 0 comments

Comments

@AlexisColes
Copy link

Describe the bug

dind: &dind
  image: 117771453557.dkr.ecr.eu-west-1.amazonaws.com/github-actions-runner-dind:15
  container_mode: false
  dindMode: true

c-2: &c2
  resources: 
    requests:
      cpu: 2
      memory: 4Gi
      
runners:
  c-2-dind:
    <<: *dind
    <<: *c2
    min_replicas: 2

This is valid yaml!

however the line <<: *c2 is marked as an error "Map keys must be uniqueYAML on mutliple merges"

image

Expected Behavior

It should not flag this as an error.

Current Behavior

If flags it as an error

Steps to Reproduce

  1. put the above yaml into vscode with this extension loaded.

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant