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 22, 2024
1 parent 5c1c9d5 commit 4387b1a
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 4387b1a

Please sign in to comment.