Support use configmap as volume (#1216)

This commit is contained in:
Hang Yan
2019-12-28 01:02:27 +08:00
committed by GitHub
parent bc32e29ee4
commit 34b827c97e
11 changed files with 435 additions and 20 deletions
+1
View File
@@ -161,6 +161,7 @@ func loadV3Placement(constraints []string) map[string]string {
// TODO: Refactor it similar to loadV3Ports
// See: https://docs.docker.com/compose/compose-file/#long-syntax-3
func loadV3Volumes(volumes []types.ServiceVolumeConfig) []string {
var volArray []string
for _, vol := range volumes {