Make budget quota be an integer in cents
@@ -268,9 +268,9 @@ public class Flags {
APPLICATION_ID
);
- public static final UnboundBigDecimalFlag TENANT_BUDGET_QUOTA = defineBigDecimalFlag(
- "tenant-budget-quota", new BigDecimal("5.00"),
- "The budget in $/hr a tenant is allowed spend per instance, as calculated by NodeResources",
+ public static final UnboundIntFlag TENANT_BUDGET_QUOTA = defineIntFlag(
+ "tenant-budget-quota", -1,
+ "The budget in cents/hr a tenant is allowed spend per instance, as calculated by NodeResources",
"Only takes effect on next deployment, if set to a value other than the default for flag!",
APPLICATION_ID
);
