(_ context.Context, rep repo.DirectRepository)
| 20 | } |
| 21 | |
| 22 | func (c *commandRepositoryThrottleGet) run(_ context.Context, rep repo.DirectRepository) error { |
| 23 | limits := rep.Throttler().Limits() |
| 24 | |
| 25 | if err := c.ctg.output(&limits); err != nil { |
| 26 | return errors.Wrap(err, "output") |
| 27 | } |
| 28 | |
| 29 | return nil |
| 30 | } |