(addr string)
| 477 | } |
| 478 | |
| 479 | func (s *InfoCache) Get(addr string) map[string]string { |
| 480 | info := s.load(addr) |
| 481 | if info != nil { |
| 482 | return info |
| 483 | } |
| 484 | info, _ = s.getSlow(addr) |
| 485 | return s.store(addr, info) |
| 486 | } |
| 487 | |
| 488 | func (s *InfoCache) GetRunId(addr string) string { |
| 489 | return s.Get(addr)["run_id"] |
no test coverage detected