(composeMap map[string]interface{})
| 2327 | } |
| 2328 | |
| 2329 | func removeComposeServiceImages(composeMap map[string]interface{}) { |
| 2330 | services, ok := composeMap["services"].(map[string]interface{}) |
| 2331 | if !ok { |
| 2332 | return |
| 2333 | } |
| 2334 | for _, service := range services { |
| 2335 | serviceMap, ok := service.(map[string]interface{}) |
| 2336 | if !ok { |
| 2337 | continue |
| 2338 | } |
| 2339 | delete(serviceMap, "image") |
| 2340 | } |
| 2341 | } |
| 2342 | |
| 2343 | func getAppVersions(key string, details []model.AppDetail) []string { |
| 2344 | var ( |
no outgoing calls
no test coverage detected