Skip to content

Adding Namespace to HNS exports.#311

Merged
jterry75 merged 1 commit intomicrosoft:masterfrom
erfrimod:erfrimod/hns-v1-exports-Namespace
Sep 20, 2018
Merged

Adding Namespace to HNS exports.#311
jterry75 merged 1 commit intomicrosoft:masterfrom
erfrimod:erfrimod/hns-v1-exports-Namespace

Conversation

@erfrimod
Copy link
Copy Markdown

CNI needs to use the V1 Schema until customers can get the updated HNS code in RS6. This means that the Hcsshim needs to export the Namespace object that is a part of HNSEndpoint.

Comment thread hnsendpoint.go
// HNSEndpoint represents a network endpoint in HNS
type HNSEndpoint = hns.HNSEndpoint
// Namespace represents a Compartment.
type Namespace = hns.Namespace
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.

What uses this? I dont quite understand why this export is needed for any V1 code?

@jterry75 jterry75 merged commit 076e388 into microsoft:master Sep 20, 2018
@erfrimod erfrimod deleted the erfrimod/hns-v1-exports-Namespace branch October 11, 2018 22:27
dcantah pushed a commit to dcantah/hcsshim that referenced this pull request Mar 17, 2021
Ignore ResizeConsole of init process after exit
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.

2 participants