Skip to content

enhance: split config from server package#2725

Merged
crosbymichael merged 1 commit intocontainerd:masterfrom
fuweid:enhance_split_config_from_server
Oct 17, 2018
Merged

enhance: split config from server package#2725
crosbymichael merged 1 commit intocontainerd:masterfrom
fuweid:enhance_split_config_from_server

Conversation

@fuweid
Copy link
Copy Markdown
Member

@fuweid fuweid commented Oct 17, 2018

The github.com/containerd/containerd/services/server has a lot of
dependencies, like content, snapshots services implementation and
docker-metrics.

For the client side, it uses the config struct from server package
to start up the containerd in background. It will import a lot of
useless packages which might be conflict with existing vendor's package.

It makes integration easier with single config package.

Signed-off-by: Wei Fu [email protected]

@fuweid fuweid force-pushed the enhance_split_config_from_server branch 5 times, most recently from c51d39f to e7bf35a Compare October 17, 2018 08:06
The github.com/containerd/containerd/services/server has a lot of
dependencies, like content, snapshots services implementation and
docker-metrics.

For the client side, it uses the config struct from server package
to start up the containerd in background. It will import a lot of
useless packages which might be conflict with existing vendor's package.

It makes integration easier with single config package.

Signed-off-by: Wei Fu <[email protected]>
@fuweid fuweid force-pushed the enhance_split_config_from_server branch from e7bf35a to 06616da Compare October 17, 2018 08:36
@crosbymichael
Copy link
Copy Markdown
Member

LGTM

Thanks!

@crosbymichael crosbymichael merged commit f1f8cb0 into containerd:master Oct 17, 2018
@fuweid fuweid deleted the enhance_split_config_from_server branch October 17, 2018 14:30
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