Skip to content

[release/1.6] config: improve config v1 deprecation message#6980

Merged
estesp merged 1 commit intocontainerd:release/1.6from
AkihiroSuda:cherrypick-6972-1.6
May 24, 2022
Merged

[release/1.6] config: improve config v1 deprecation message#6980
estesp merged 1 commit intocontainerd:release/1.6from
AkihiroSuda:cherrypick-6972-1.6

Conversation

@AkihiroSuda
Copy link
Copy Markdown
Member

Cherry-pick #6972 (clean)


The previous wording was causing confusion.
Fix moby/moby#43628

The previous wording was causing confusion.
Fix moby/moby issue 43628

Signed-off-by: Akihiro Suda <[email protected]>
(cherry picked from commit 739cb4c)
Signed-off-by: Akihiro Suda <[email protected]>
version := c.GetVersion()
if version < 2 {
logrus.Warnf("deprecated version : `%d`, please switch to version `2`", version)
logrus.Warnf("containerd config version `%d` has been deprecated and will be removed in containerd v2.0, please switch to version `2`, "+
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please switch to config version 2?

Copy link
Copy Markdown
Contributor

@jterry75 jterry75 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@estesp estesp merged commit 8568155 into containerd:release/1.6 May 24, 2022
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.

4 participants