Skip to content

There is no way to disable debug endpoint on Darwin#7775

Merged
mxpv merged 1 commit intocontainerd:mainfrom
mxpv:defaults
Dec 8, 2022
Merged

There is no way to disable debug endpoint on Darwin#7775
mxpv merged 1 commit intocontainerd:mainfrom
mxpv:defaults

Conversation

@mxpv
Copy link
Copy Markdown
Member

@mxpv mxpv commented Dec 7, 2022

For Linux and Windows we use platformAgnosticDefaultConfig, which has debug endpoint disabled by default.

On Darwin, we specify defaults.DefaultDebugAddress.
So when using address = "" in the config file, it just defaults to defaults.DefaultDebugAddress.

This PR just uses platformAgnosticDefaultConfig for all platforms, so debug endpoint can be enabled as needed from config.

Signed-off-by: Maksym Pavlenko [email protected]

@mxpv mxpv added the easy-to-review Easy to review label Dec 7, 2022
@fuweid
Copy link
Copy Markdown
Member

fuweid commented Dec 8, 2022

need to rebase to fix the CI

Signed-off-by: Maksym Pavlenko <[email protected]>
@mxpv mxpv merged commit d39ee7b into containerd:main Dec 8, 2022
@mxpv mxpv deleted the defaults branch December 8, 2022 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

easy-to-review Easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants