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

Empty environment variables create invalid compose file #13

Closed
ChristianLempa opened this issue Jun 2, 2020 · 2 comments
Closed

Empty environment variables create invalid compose file #13

ChristianLempa opened this issue Jun 2, 2020 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@ChristianLempa
Copy link

Description:
If you add environment variables with blank input, it creates an invalid compose file filing "!!null '':" to the environment section. To fix this delete blank fields in "environment" tab.

Steps to reproduce:

  1. Create a new service object
  2. Edit service settings
  3. Click on "environment" tab
  4. Click on add with blank values
  5. Close the service object

Screenshots:
image

@corpulent
Copy link
Contributor

@xcad2k Thanks for pointing this out. I deployed a quick fix for now, but will think of a better UX for this.

@corpulent corpulent added bug Something isn't working enhancement New feature or request labels Jun 2, 2020
@corpulent corpulent self-assigned this Jun 3, 2020
@corpulent
Copy link
Contributor

There is a warning now for empty environment variable keys.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants