GaOrtiga commented on code in PR #13023:
URL: https://github.com/apache/cloudstack/pull/13023#discussion_r3396414933
##########
engine/storage/src/main/java/org/apache/cloudstack/storage/image/BaseImageStoreDriverImpl.java:
##########
@@ -178,13 +175,10 @@ public void createAsync(DataStore dataStore, DataObject
data, AsyncCompletionCal
AsyncCallbackDispatcher<BaseImageStoreDriverImpl, DownloadAnswer>
caller = AsyncCallbackDispatcher.create(this);
caller.setContext(context);
if (data.getType() == DataObjectType.TEMPLATE) {
- if (dataStoreManager.isRemovedOrReadonly(dataStore)) {
- DownloadAnswer ans = new DownloadAnswer("Data store is removed
or in read-only mode", VMTemplateStorageResourceAssoc.Status.UNKNOWN);
- caller.complete(ans);
- return;
- }
caller.setCallback(caller.getTarget().createTemplateAsyncCallback(null, null));
- logger.debug("Downloading template [{}] to data store [{}].",
data.getName(), dataStore.getName());
+ if (logger.isDebugEnabled()) {
Review Comment:
@winterhazel I was only undoing the changes I had made on this file, as they
are no longer necessary. So I'm no longer touching that part of the code
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]