Skip to content

Commit

Permalink
F #6341: Add generic quotas to the restricted attribute set
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmontero committed Jan 8, 2024
1 parent 442041f commit c12f8fe
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/nebula/Nebula.cc
Original file line number Diff line number Diff line change
Expand Up @@ -626,9 +626,13 @@ void Nebula::start(bool bootstrap_only)
{
if (QuotaVirtualMachine::add_metric_generic(quota->value()) != 0)
{
NebulaLog::warn("ONE", "Unable to add QUOTA_VM_ATTRIBUTE " + quota->value()
+ ", it already exists");
NebulaLog::warn("ONE",
"Duplicated QUOTA_VM_ATTRIBUTE detected: " + quota->value());

continue;
}

nebula_configuration->add("VM_RESTRICTED_ATTR", quota->value());
}
}

Expand Down Expand Up @@ -691,7 +695,7 @@ void Nebula::start(bool bootstrap_only)

nebula_configuration->get("VM_ENCRYPTED_ATTR", vm_encrypted_attrs);

nebula_configuration->get("VM_SUBMIT_ON_HOLD",vm_submit_on_hold);
nebula_configuration->get("VM_SUBMIT_ON_HOLD", vm_submit_on_hold);

default_cost = nebula_configuration->get("DEFAULT_COST");

Expand Down

0 comments on commit c12f8fe

Please sign in to comment.