Skip to content

Commit

Permalink
Merge pull request #505 from baude/nspath
Browse files Browse the repository at this point in the history
Add nspath to commands
  • Loading branch information
openshift-merge-robot authored Nov 28, 2022
2 parents 20a7a77 + 2f0b025 commit c8d3c08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ impl Setup {
container_dns_servers: &network_options.dns_servers,
netns_host: hostns.fd,
netns_container: netns.fd,
netns_path: &self.network_namespace_path,
network,
per_network_opts,
port_mappings: &network_options.port_mappings,
Expand Down
1 change: 1 addition & 0 deletions src/commands/teardown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ impl Teardown {
container_dns_servers: &network_options.dns_servers,
netns_host: hostns.fd,
netns_container: netns.fd,
netns_path: &self.network_namespace_path,
network,
per_network_opts,
port_mappings: &network_options.port_mappings,
Expand Down
1 change: 1 addition & 0 deletions src/network/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub struct DriverInfo<'a> {
pub container_dns_servers: &'a Option<Vec<IpAddr>>,
pub netns_host: RawFd,
pub netns_container: RawFd,
pub netns_path: &'a str,
pub network: &'a Network,
pub per_network_opts: &'a PerNetworkOptions,
pub port_mappings: &'a Option<Vec<PortMapping>>,
Expand Down

0 comments on commit c8d3c08

Please sign in to comment.