Skip to content

Commit

Permalink
Incorporated few more review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rajendraindukuri committed Apr 24, 2021
1 parent 5882101 commit 790c23b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion storops/unity/resource/quota_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ def modify(cls, cli, quota_config_id,
raise UnityQuotaConfigModifyException()

req_body = cli.make_body(
allow_empty=False,
quotaPolicy=quota_policy,
isUserQuotaEnabled=is_user_quota_enabled,
deleteUserQuotasWithDisable=delete_user_quotas_with_disable,
Expand Down
2 changes: 0 additions & 2 deletions storops/unity/resource/tree_quota.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def modify(cls, cli, tree_quota_id, description=None,
'cannot find tree_quota {}.'.format(tree_quota_id))

req_body = cli.make_body(
allow_empty=False,
description=description,
hardLimit=hard_limit,
softLimit=soft_limit
Expand Down Expand Up @@ -129,7 +128,6 @@ def prepare_tree_quota_create_parameters(
:return: tree_quota_params for create tree_quota preparation
"""
tree_quota_param = UnityClient.make_body(
allow_empty=False,
filesystem=filesystem,
path=path,
description=description,
Expand Down
2 changes: 0 additions & 2 deletions storops/unity/resource/user_quota.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def modify(cls, cli, user_quota_id, hard_limit=None, soft_limit=None):
'cannot find user_quota {}.'.format(user_quota_id))

req_body = cli.make_body(
allow_empty=False,
hardLimit=hard_limit,
softLimit=soft_limit
)
Expand Down Expand Up @@ -127,7 +126,6 @@ def prepare_user_quota_create_parameters(
:return: user_quota_params for create user_quota preparation
"""
user_quota_param = UnityClient.make_body(
allow_empty=False,
filesystem=filesystem,
treeQuota=tree_quota,
hardLimit=hard_limit,
Expand Down

0 comments on commit 790c23b

Please sign in to comment.