Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' into feature-net-image-params
Browse files Browse the repository at this point in the history
  • Loading branch information
greyarch committed May 11, 2017
2 parents eec6f5d + b0bf782 commit 115dcdf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/coffee/compose/actions.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ module.exports = (config) ->

volumePaths = []
for service in _.values composition.services when service.volumes
volumePaths = _.uniq (_.union volumePaths, service.volumes).map (mapping) ->
volumePaths = _.uniq (_.union volumePaths, service.volumes.map (mapping) ->
splits = mapping.split(':')
splits[0] if splits.length is 2
splits[0] if splits.length >= 2
)

for path in volumePaths when path
try
Expand Down

0 comments on commit 115dcdf

Please sign in to comment.