Skip to content

Conversation

@katiewasnothere
Copy link

Previously, if no network information was set on the given spec, we would hit a panic trying to set the new spec's windows devices since we relied on setWindowsNetworkNamespace to create the windows field. This PR fixes that by checking if the windows field is nil and creating it if so.

Signed-off-by: Kathryn Baldauf [email protected]

@katiewasnothere katiewasnothere requested a review from a team as a code owner December 10, 2020 02:12
Copy link
Contributor

@anmaxvl anmaxvl left a comment

Choose a reason for hiding this comment

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

LGTM. ran into the exact same issue when testing logging binary.

Copy link
Contributor

@dcantah dcantah left a comment

Choose a reason for hiding this comment

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

lgtm

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