(quota models.QuotaFields)
| 73 | } |
| 74 | |
| 75 | func (repo CloudControllerQuotaRepository) Create(quota models.QuotaFields) error { |
| 76 | return repo.gateway.CreateResourceFromStruct(repo.config.APIEndpoint(), "/v2/quota_definitions", quota) |
| 77 | } |
| 78 | |
| 79 | func (repo CloudControllerQuotaRepository) Update(quota models.QuotaFields) error { |
| 80 | path := fmt.Sprintf("/v2/quota_definitions/%s", quota.GUID) |
nothing calls this directly
no test coverage detected