(gid int)
| 44 | } |
| 45 | |
| 46 | func (s *Sentinel) NodeName(gid int) string { |
| 47 | return fmt.Sprintf("%s-%d", s.Product, gid) |
| 48 | } |
| 49 | |
| 50 | func (s *Sentinel) isSameProduct(name string) (gid int, _ bool) { |
| 51 | if !strings.HasPrefix(name, s.Product) { |
no outgoing calls
no test coverage detected