Skip to content

Rename runtime/v2/task to api/runtime#6827

Merged
fuweid merged 2 commits intocontainerd:mainfrom
mxpv:renames
Apr 20, 2022
Merged

Rename runtime/v2/task to api/runtime#6827
fuweid merged 2 commits intocontainerd:mainfrom
mxpv:renames

Conversation

@mxpv
Copy link
Member

@mxpv mxpv commented Apr 19, 2022

Since runtime v2 APIs now include both task and sandbox protos,
this commit renames the Go package to something more generic.
move it to api/runtime.

@dmcgowan
Copy link
Member

Can we separate task and sandbox APIs into different packages if they aren't sharing types? It might also be worth exploring joining the root of these packages under api/runtime after we get ttrpc building for the other APIs.

@containerd containerd deleted a comment from theopenlab-ci bot Apr 19, 2022
Move runtime v2 protos to api/runtime package.

Signed-off-by: Maksym Pavlenko <[email protected]>
@mxpv mxpv changed the title Rename runtime/v2/task to runtime/v2/api Rename runtime/v2/task to api/runtime Apr 20, 2022
Signed-off-by: Maksym Pavlenko <[email protected]>
@containerd containerd deleted a comment from theopenlab-ci bot Apr 20, 2022
@theopenlab-ci
Copy link

theopenlab-ci bot commented Apr 20, 2022

Build succeeded.

Copy link
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

The package name should be in lowercase. We can update it in followup .

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