(p *Sentinel)
| 252 | } |
| 253 | |
| 254 | func (s *Store) UpdateSentinel(p *Sentinel) error { |
| 255 | return s.client.Update(s.SentinelPath(), p.Encode()) |
| 256 | } |
| 257 | |
| 258 | func ValidateProduct(name string) error { |
| 259 | if regexp.MustCompile(`^\w[\w\.\-]*$`).MatchString(name) { |
no test coverage detected