From ead2ab4d699d5513494bcda09ccf0306b6c96751 Mon Sep 17 00:00:00 2001 From: Casey Lee Date: Mon, 24 Feb 2020 22:37:20 -0800 Subject: [PATCH] fix #95 - change ports to array of strings --- pkg/model/workflow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/model/workflow.go b/pkg/model/workflow.go index 7241426..eb55d39 100644 --- a/pkg/model/workflow.go +++ b/pkg/model/workflow.go @@ -171,7 +171,7 @@ func commonKeysMatch(a map[string]interface{}, b map[string]interface{}) bool { type ContainerSpec struct { Image string `yaml:"image"` Env map[string]string `yaml:"env"` - Ports []int `yaml:"ports"` + Ports []string `yaml:"ports"` Volumes []string `yaml:"volumes"` Options string `yaml:"options"` Entrypoint string