Skip to content

Commit fbb6df7

Browse files
Donal Laffertychiradeep
authored andcommitted
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>
1 parent c498d2d commit fbb6df7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎services/secondary-storage/src/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResource.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ Map<Long, TemplateProp> s3ListVolume(S3TO s3) {
13661366

13671367
private Answer execute(ListTemplateCommand cmd) {
13681368
if (!_inSystemVM) {
1369-
return new Answer(cmd, true, null);
1369+
return new ListTemplateAnswer(null, null);
13701370
}
13711371

13721372
DataStoreTO store = cmd.getDataStore();
@@ -1391,7 +1391,7 @@ private Answer execute(ListTemplateCommand cmd) {
13911391

13921392
private Answer execute(ListVolumeCommand cmd) {
13931393
if (!_inSystemVM) {
1394-
return new Answer(cmd, true, null);
1394+
return new ListVolumeAnswer(cmd.getSecUrl(), null);
13951395
}
13961396
DataStoreTO store = cmd.getDataStore();
13971397
if (store instanceof NfsTO) {

0 commit comments

Comments
 (0)