lib/kubec/kubernetes/container.rb in kubec-0.3.2 vs lib/kubec/kubernetes/container.rb in kubec-0.3.3
- old
+ new
@@ -45,10 +45,10 @@
containerPort: container_port,
hostPort: host_port,
hostIP: ip,
name: name,
protocol: protocol
- }.compact
+ }
self[:ports].push port
end
def command(*args)
args = args.flatten