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

Apply transformStringOrList to services.*.label_file #724

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Vigilans
Copy link

According to label_file's spec: compose-spec/compose-spec#546, it supports string or a list:

services:
  one:
    label_file: ./app.labels
  two:
    label_file: 
      - ./app.labels
      - ./additional.labels

But without applying transform.Canonical it only supports list format. This PR applies transformStringOrList to it to fix this.

@Vigilans Vigilans requested a review from ndeloof as a code owner December 22, 2024 06:03
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

Successfully merging this pull request may close these issues.

1 participant