8000 Azure Storage getfiles issue and fix · Issue #686 · pkgcloud/pkgcloud · GitHub
[go: up one dir, main page]

Skip to content

Azure Storage getfiles issue and fix #686

@ashkank83

Description

@ashkank83

Hi,
It looks like the following line is causing an issue when getting a list of files in Azure storage:

if (body.Blobs && body.Blobs.Blob) {

when modified to following the result comes back correctly :

if (body.EnumerationResults.Blobs && body.EnumerationResults.Blobs.Blob) {
      return callback(null, self._toArray(body.EnumerationResults.Blobs.Blob).map(function (file) {
        file.container = container;
        return new storage.File(self, file);
      }));
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0