fix #95 - change ports to array of strings

This commit is contained in:
Casey Lee 2020-02-24 22:37:20 -08:00
parent 51b6167606
commit ead2ab4d69
No known key found for this signature in database
GPG key ID: 1899120ECD0A1784

View file

@ -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