Skip to content

Commit cf45474

Browse files
nvazquezdhslove
authored andcommitted
Merge branch '4.19'
1 parent 34e94f2 commit cf45474

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

api/src/main/java/com/cloud/event/EventTypes.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,11 @@ public class EventTypes {
744744
public static final String EVENT_QUOTA_TARIFF_DELETE = "QUOTA.TARIFF.DELETE";
745745
public static final String EVENT_QUOTA_TARIFF_UPDATE = "QUOTA.TARIFF.UPDATE";
746746

747+
// Quota
748+
public static final String EVENT_QUOTA_TARIFF_CREATE = "QUOTA.TARIFF.CREATE";
749+
public static final String EVENT_QUOTA_TARIFF_DELETE = "QUOTA.TARIFF.DELETE";
750+
public static final String EVENT_QUOTA_TARIFF_UPDATE = "QUOTA.TARIFF.UPDATE";
751+
747752
static {
748753

749754
// TODO: need a way to force author adding event types to declare the entity details as well, with out braking

plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaTariffDeleteCmd.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import org.apache.cloudstack.api.response.QuotaTariffResponse;
3030
import org.apache.cloudstack.api.response.SuccessResponse;
3131
import org.apache.cloudstack.context.CallContext;
32-
import org.apache.log4j.Logger;
3332

3433
import javax.inject.Inject;
3534

plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/driver/LinstorPrimaryDataStoreDriverImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ private void deleteResourceDefinition(StoragePoolVO storagePoolVO, String rscDef
216216
}
217217
throw new CloudRuntimeException("Linstor: Unable to delete resource definition: " + rscDefName);
218218
}
219-
s_logger.info(String.format("Linstor: Deleted resource %s", rscDefName));
219+
logger.info(String.format("Linstor: Deleted resource %s", rscDefName));
220220
} catch (ApiException apiEx)
221221
{
222222
logger.error("Linstor: ApiEx - " + apiEx.getMessage());
@@ -903,7 +903,7 @@ private Optional<RemoteHostEndPoint> getDiskfullEP(DevelopersApi api, String rsc
903903
}
904904
}
905905
}
906-
s_logger.error("Linstor: No diskfull host found.");
906+
logger.error("Linstor: No diskfull host found.");
907907
return Optional.empty();
908908
}
909909

0 commit comments

Comments
 (0)