mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
Get QuickCloud working again
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
This commit is contained in:
parent
efde50fa1e
commit
25fa21f190
@ -1366,7 +1366,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S
|
|||||||
|
|
||||||
private Answer execute(ListTemplateCommand cmd) {
|
private Answer execute(ListTemplateCommand cmd) {
|
||||||
if (!_inSystemVM) {
|
if (!_inSystemVM) {
|
||||||
return new Answer(cmd, true, null);
|
return new ListTemplateAnswer(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
DataStoreTO store = cmd.getDataStore();
|
DataStoreTO store = cmd.getDataStore();
|
||||||
@ -1391,7 +1391,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S
|
|||||||
|
|
||||||
private Answer execute(ListVolumeCommand cmd) {
|
private Answer execute(ListVolumeCommand cmd) {
|
||||||
if (!_inSystemVM) {
|
if (!_inSystemVM) {
|
||||||
return new Answer(cmd, true, null);
|
return new ListVolumeAnswer(cmd.getSecUrl(), null);
|
||||||
}
|
}
|
||||||
DataStoreTO store = cmd.getDataStore();
|
DataStoreTO store = cmd.getDataStore();
|
||||||
if (store instanceof NfsTO) {
|
if (store instanceof NfsTO) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user