Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix condition for calculate quotas for reserved networks #3573

wants to merge 1 commit into from
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

fix condition for calculate quotas for reserved networks

Signed-off-by: Alexandr Baranov <>
  • Loading branch information...
Alexandr Baranov
Alexandr Baranov committed Aug 6, 2019
commit 0e0dcff7668a106a9129d5a471ad3bfb63b65730
@@ -475,7 +475,7 @@ def calculate_vnet_quotas(doc, queries, resource)
parent_id = ar.xpath('AR/PARENT_NETWORK_AR_ID')
parent_id = parent_id.text unless parent_id.nil?

next if parent_id.nil? || parent_id.empty?
next if !parent_id.nil? || !parent_id.empty?

vnet_usage[parent_id] = 0 if vnet_usage[parent_id].nil?

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.