(d map[string]interface{})
| 74 | } |
| 75 | |
| 76 | func (t *cmdAdmin) newTopomStore(d map[string]interface{}) *models.Store { |
| 77 | if err := models.ValidateProduct(t.product); err != nil { |
| 78 | log.PanicErrorf(err, "invalid product name") |
| 79 | } |
| 80 | client := t.newTopomClient(d) |
| 81 | return models.NewStore(client, t.product) |
| 82 | } |
| 83 | |
| 84 | func (t *cmdAdmin) handleRemoveLock(d map[string]interface{}) { |
| 85 | store := t.newTopomStore(d) |
no test coverage detected