Skip to content

Ensure namespaced writer commit has correct namespace#3294

Merged
estesp merged 1 commit intocontainerd:masterfrom
dmcgowan:fix-metadata-panic
May 21, 2019
Merged

Ensure namespaced writer commit has correct namespace#3294
estesp merged 1 commit intocontainerd:masterfrom
dmcgowan:fix-metadata-panic

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

The namespaced writer Commit method must always have a
namespace in the context as checked by the removeIngestLease
function, resulting in a panic when not provided. Use the
namespace on the writer since it is always correct and supersedes
any other namespace provided on the Commit context.

The namespaced writer Commit method must always have a
namespace in the context as checked by the removeIngestLease
function, resulting in a panic when not provided.

Signed-off-by: Derek McGowan <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented May 21, 2019

Build succeeded.

@crosbymichael
Copy link
Copy Markdown
Member

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 2088fc9 into containerd:master May 21, 2019
@dmcgowan dmcgowan deleted the fix-metadata-panic branch September 10, 2019 17:43
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