Skip to content

stopped containers are always included #314

@karlyan17

Description

@karlyan17

while studying the code I noticed the referred line. Should it not be the following?:

all := false

If I understand the code correctly all is always True and the configuration option -include-stopped has no effect.

https://github.com/jwilder/docker-gen/blob/4edc190faa34342313589a80e3a736cafb45919b/cmd/docker-gen/main.go#L159

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions