(mode string)
| 850 | } |
| 851 | |
| 852 | func getDependentServiceFromMode(mode string) string { |
| 853 | if strings.HasPrefix( |
| 854 | mode, |
| 855 | types.NetworkModeServicePrefix, |
| 856 | ) { |
| 857 | return mode[len(types.NetworkModeServicePrefix):] |
| 858 | } |
| 859 | return "" |
| 860 | } |
| 861 | |
| 862 | func (s *composeService) buildContainerVolumes( |
| 863 | ctx context.Context, |
no outgoing calls
no test coverage detected