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

fix(ecs): correct logic of healthcheck command #2462

Merged
merged 1 commit into from
May 6, 2019
Merged

fix(ecs): correct logic of healthcheck command #2462

merged 1 commit into from
May 6, 2019

Commits on May 2, 2019

  1. fix(ecs): correct logic of healthcheck command

    Adding a healthcheck command to an ECS container definition
    results in an invalid command after synthesizing.
    
    Before:
    
        Input: ['CMD', 'command']
        Output:
              HealthCheck:
                Command:
                  - CMD
                  - CMD
                  - echo
                  - z
    
        Input: ['CMD-SHELL', 'command']
        Output:
              HealthCheck:
                Command:
                  - CMD
                  - CMD-SHELL
                  - echo
                  - z
    
    After:
    
        Input: ['CMD', 'command']
        Output:
              HealthCheck:
                Command:
                  - CMD
                  - echo
                  - z
    
        Input: ['CMD-SHELL', 'command']
        Output:
              HealthCheck:
                Command:
                  - CMD-SHELL
                  - echo
                  - z
    
    fixes #2461
    
    Signed-off-by: Chris Lahaye <[email protected]>
    Chris Lahaye committed May 2, 2019
    Configuration menu
    Copy the full SHA
    15d6055 View commit details
    Browse the repository at this point in the history