mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4163: Get QuickCloud working again
The object store work broke changed the expected behavior of the NfsSecondaryStorageResource Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
This commit is contained in:
parent
c498d2d786
commit
fbb6df74ff
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue