Skip to content

Commit

Permalink
add type hint to qgourp_ids list to enforce str() members only rockst…
Browse files Browse the repository at this point in the history
  • Loading branch information
phillxnet committed Mar 20, 2024
1 parent a1a46ff commit cfb95a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rockstor/scripts/qgroup_maxout_limit.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def main():
print("Quotas not enabled on pool(%s). Skipping it." % p.name)
continue

qgroup_ids = []
qgroup_ids: list[str] = []
for l in o:
if (
re.match("qgroupid", l) is not None
Expand Down

0 comments on commit cfb95a3

Please sign in to comment.