summaryrefslogtreecommitdiffstats
path: root/src/builder.rs
diff options
context:
space:
mode:
authorDoug Tangren <d.tangren@gmail.com>2019-12-06 00:23:33 -0500
committerGitHub <noreply@github.com>2019-12-06 00:23:33 -0500
commitcf8a06e79079193c89752239b1be7f3b18491f45 (patch)
tree06a7a415e2842280b2044487041af486f3d93367 /src/builder.rs
parent546753dc6d3215429e6f91c80abaa6599de332e5 (diff)
port build to gh actions (#204)
* port build to gh actions * attempt 2: trip hook registration * hooked to pushes * gh actions badge * build cache * gate at job level * fix badge merge * populate cache after checkout * work now cache later
Diffstat (limited to 'src/builder.rs')
-rw-r--r--src/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builder.rs b/src/builder.rs
index bf7381f..35fccb9 100644
--- a/src/builder.rs
+++ b/src/builder.rs
@@ -676,7 +676,7 @@ impl ContainerOptionsBuilder {
// Replicate the port bindings over to the exposed ports config
let mut exposed_ports: HashMap<String, Value> = HashMap::new();
let empty_config: HashMap<String, Value> = HashMap::new();
- for (key, _) in &port_bindings {
+ for key in port_bindings.keys() {
exposed_ports.insert(key.to_string(), json!(empty_config));
}