Skip to content

move sys.FMountat() into mount package and un-export#5641

Merged
fuweid merged 2 commits intocontainerd:mainfrom
thaJeztah:move_sys_fmountat
Jun 24, 2021
Merged

move sys.FMountat() into mount package and un-export#5641
fuweid merged 2 commits intocontainerd:mainfrom
thaJeztah:move_sys_fmountat

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Jun 23, 2021

It's the only location this is used, so might as well move it into that package. I could not find external users of this utility, so not adding an alias / deprecation.

Given that this function is only used internally, we can un-export this utility until it is needed elsewhere.

relates to #2502, which added this

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 23, 2021

Build succeeded.

@thaJeztah thaJeztah requested a review from fuweid June 23, 2021 08:14
@thaJeztah thaJeztah closed this Jun 23, 2021
@thaJeztah thaJeztah reopened this Jun 23, 2021
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 23, 2021

Build succeeded.

It's the only location this is used, so might as well move it
into that package. I could not find external users of this utility,
so not adding an alias / deprecation.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
It's only used internally, so we can un-export this utility until
it is needed elsewhere.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the move_sys_fmountat branch from 115535f to a964cf0 Compare June 23, 2021 16:15
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 23, 2021

Build succeeded.

@thaJeztah thaJeztah closed this Jun 23, 2021
@thaJeztah thaJeztah reopened this Jun 23, 2021
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jun 23, 2021

Build succeeded.

Copy link
Copy Markdown
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

@fuweid fuweid merged commit c8c6eed into containerd:main Jun 24, 2021
@thaJeztah thaJeztah deleted the move_sys_fmountat branch June 24, 2021 14:26
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.

3 participants