Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix condition for calculate quotas for reserved networks #3573
It’s seems additional quotas on not exist resourses is working from this condition:
In this case if “PARENT_NETWORK_AR_ID” not exist we will be add VALUE to empty KEY, i.e. instead PARENT_NETWORK_AR_ID = [SIZE] we have __ = [SIZE].
478 next if !parent_id.nil? || !parent_id.empty?
If we meet empty or nil KEY PARENT_NETWORK_AR_ID, will missed it and won’t added additional quotas on not exist resources.
There were the following issues with your Pull Request
Guidelines are available at https://github.com/OpenNebula/one/blob/master/share/doc/dev/COMMIT_MESSAGES.md
This message was auto-generated by https://gitcop.com