clearVersionLabelCache clears per-run source-repo tag caches.
()
| 60 | |
| 61 | // clearVersionLabelCache clears per-run source-repo tag caches. |
| 62 | func clearVersionLabelCache() { |
| 63 | versionLabelMu.Lock() |
| 64 | defer versionLabelMu.Unlock() |
| 65 | versionLabelCache = make(map[string]map[string]string) |
| 66 | } |
| 67 | |
| 68 | func getVersionLabelCache(sourceRepo string) (map[string]string, bool) { |
| 69 | versionLabelMu.Lock() |
no outgoing calls