Get QuickCloud working again

Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
This commit is contained in:
Donal Lafferty 2013-08-07 11:21:24 -07:00 committed by Chiradeep Vittal
parent efde50fa1e
commit 25fa21f190

View File

@ -1366,7 +1366,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S
private Answer execute(ListTemplateCommand cmd) {
if (!_inSystemVM) {
return new Answer(cmd, true, null);
return new ListTemplateAnswer(null, null);
}
DataStoreTO store = cmd.getDataStore();
@ -1391,7 +1391,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S
private Answer execute(ListVolumeCommand cmd) {
if (!_inSystemVM) {
return new Answer(cmd, true, null);
return new ListVolumeAnswer(cmd.getSecUrl(), null);
}
DataStoreTO store = cmd.getDataStore();
if (store instanceof NfsTO) {