(volumes []types.ServiceVolumeConfig, target string)
| 947 | } |
| 948 | |
| 949 | func findVolumeByTarget(volumes []types.ServiceVolumeConfig, target string) *types.ServiceVolumeConfig { |
| 950 | for _, v := range volumes { |
| 951 | if v.Target == target { |
| 952 | return &v |
| 953 | } |
| 954 | } |
| 955 | return nil |
| 956 | } |
| 957 | |
| 958 | // bindRequiresMountAPI check if Bind declaration can be implemented by the plain old Bind API or uses any of the advanced |
| 959 | // options which require use of Mount API |
no outgoing calls
no test coverage detected