Skip to content

Commit bbd1039

Browse files
committed
fix(browser): remove erroneous Some() around endpoints HashMap for bollard 0.16 NetworkingConfig (endpoints_config is HashMap<T, EndpointSettings>, not Option) — fixes E0308
1 parent ca93e85 commit bbd1039

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/browser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl DockerBrowserShell {
5050
let mut endpoints = HashMap::new();
5151
endpoints.insert(net.to_string(), EndpointSettings::default());
5252
networking_config = Some(NetworkingConfig {
53-
endpoints_config: Some(endpoints),
53+
endpoints_config: endpoints,
5454
});
5555
}
5656

0 commit comments

Comments
 (0)