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

attach _only_ to services declared by project applying profiles #9488

Merged
merged 1 commit into from
May 20, 2022

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented May 20, 2022

What I did
ensure we only attach to services defined by project with applied profiles
if we don't, we will attach to all containers created with project label, which might match disabled profiles

Related issue
close #9286

(not mandatory) A picture of a cute animal, if possible in relation with what you did

Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and works as expected with the issue sample

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.

Services with profile in yml, always enable when execute command start, stop, restart, up
2 participants