Skip to content

Commit d1cb8fc

Browse files
committed
squash. code review comments
1 parent 54760a9 commit d1cb8fc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

API.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ HTTP Method: GET
14781478
curl http://localhost:<port>/irods-http-api/<version>/quotas \
14791479
-H 'Authorization: Bearer <token>' \
14801480
--data-urlencode 'op=stat' \
1481-
--data-urlencode 'group=<string>' \ # The group which to report quotas for. Optional.
1481+
--data-urlencode 'group=<string>' \ # The group on which to report. Optional.
14821482
-G
14831483
```
14841484

@@ -1532,8 +1532,8 @@ HTTP Method: POST
15321532
curl http://localhost:<port>/irods-http-api/<version>/quotas \
15331533
-H 'Authorization: Bearer <token>' \
15341534
--data-urlencode 'op=set_group_quota' \
1535-
--data-urlencode 'group=<string>' \ # The group to apply the quota to.
1536-
--data-urlencode 'resource=<string>' \ # The resource to apply the quota to. Optional.
1535+
--data-urlencode 'group=<string>' \ # The group to which the new quota applies.
1536+
--data-urlencode 'resource=<string>' \ # The resource to which the new quota applies. Optional.
15371537
--data-urlencode 'quota=<integer>' # The number of bytes which will serve as the quota limit.
15381538
```
15391539

@@ -1559,7 +1559,7 @@ If there was an error, expect an HTTP status code in either the 4XX or 5XX range
15591559
Calculate or update quota information based on the state of the catalog.
15601560

15611561
> [!IMPORTANT]
1562-
> iRODS does not automatically update quota information as data changes. This operation is provided to give administrators control over how frequently quotas are updated.
1562+
> iRODS does not automatically update quota information as data changes. This operation is provided to give administrators control over how frequently totals are calculated.
15631563
15641564
#### Request
15651565

endpoints/quotas/src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ namespace
230230
input.arg2 = group_iter->second.c_str();
231231
input.arg4 = quota_iter->second.c_str();
232232

233-
// Apply the quota as a resource quota if the user set the resource paramter.
234-
// Otherwise, apply it as a quota across all resources.
233+
// Apply the quota as a resource quota if the user set the resource parameter.
234+
// Otherwise, apply it as a global quota across all resources.
235235
const auto resource_iter = _args.find("resource");
236236
if (resource_iter != std::end(_args)) {
237237
input.arg3 = resource_iter->second.c_str();

0 commit comments

Comments
 (0)